Class ELScalar
java.lang.Object
|
+--AbstractELExpression
|
+--ELScalar
- All Implemented Interfaces:
- java.lang.Cloneable, ELExpression
- public class ELScalar
- extends AbstractELExpression
- implements ELExpression
A scalar expression.
ELScalar := -1 <= x e Reals <= 1
Field Summary |
(package private) float |
value
|
Methods inherited from class java.lang.Object |
, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
value
float value
ELScalar
public ELScalar()
ELScalar
public ELScalar(double value)
geneticClone
public ELExpression geneticClone(ELCall parent,
GeneticParameters gp)
- Description copied from interface:
ELExpression
- Clones, possibly mutating. The operators will be shared between
clones but no ELExpressions will be shared.
- Specified by:
geneticClone
in interface ELExpression
- Following copied from interface:
ELExpression
- Parameters:
parent
- Parent expression from previous generation. don't
point at or mutate this; it is provided so you can get access to
siblings. May be null if there is no parent (i.e. top-level
expression).
clone
public java.lang.Object clone()
- Specified by:
clone
in interface ELExpression
- Overrides:
clone
in class AbstractELExpression
unparse
public java.lang.String unparse()
- Description copied from interface:
ELExpression
- Generates an EL language source string sufficient to uniquely
identify this expression.
- Specified by:
unparse
in interface ELExpression
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
evaluate
public void evaluate(ELMatrix out,
ELEnvironment environment)
- Description copied from interface:
ELExpression
- Evaluates this expression.
- Specified by:
evaluate
in interface ELExpression