|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--gpsys.Primitive
|
+--gpsys.Terminal
|
+--gpsys.primitives.XObject
OBJECT XObjectXObject is a Terminal representing a variable of Type OBJECT.
Type,
Primitive,
Terminal, Serialized Form| Field Summary | |
(package private) java.lang.Object |
ovalue
Holds the value of the variable. |
| Fields inherited from class gpsys.Primitive |
type |
| Constructor Summary | |
XObject()
Construct a new variable. |
|
| Method Summary | |
java.lang.Object |
evaluateObject(Individual i)
Evaluates the variable, which returns its value. |
Primitive |
instance()
Creates a copy of this Terminal. |
void |
set(java.lang.Object value)
Sets the variable to the specified value. |
java.lang.String |
toString()
Creates a String representing this Terminal. |
| Methods inherited from class gpsys.Terminal |
evaluateBoolean,
evaluateByte,
evaluateChar,
evaluateDouble,
evaluateFloat,
evaluateInt,
evaluateLong,
evaluateShort |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
java.lang.Object ovalue
| Constructor Detail |
public XObject()
| Method Detail |
public final java.lang.Object evaluateObject(Individual i)
throws EvaluationException
i - The variable being evaluated.public final void set(java.lang.Object value)
value - The value to be assigned to the variable.public final Primitive instance()
public java.lang.String toString()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||