inria.meije.rc.sugarcubes
Class JavaIdentifierValue
java.lang.Object
|
+--inria.meije.rc.sugarcubes.JavaIdentifierValue
- All Implemented Interfaces:
- JavaExpression, JavaIdentifierExpression, java.io.Serializable
- public final class JavaIdentifierValue
- extends java.lang.Object
- implements JavaIdentifierExpression
Simple implementation of a JavaIdentifierExpression used when an event identifier is statically defined.
- See Also:
- Serialized Form
Field Summary |
protected Identifier |
value
The constant Identifier value which is set at construction time. |
Constructor Summary |
JavaIdentifierValue(Identifier value)
The constructor of this class gets an Identifier and stores it for future use (when the evaluate method is called). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
value
protected final Identifier value
- The constant Identifier value which is set at construction time.
JavaIdentifierValue
public JavaIdentifierValue(Identifier value)
- The constructor of this class gets an Identifier and stores it for future use (when the evaluate method is called).
evaluate
public final Identifier evaluate(java.lang.Object self,
LocalVariables vars,
ReactiveEngine engine)
- Returns the Identifier.
- Specified by:
evaluate
in interface JavaIdentifierExpression
- Following copied from interface:
inria.meije.rc.sugarcubes.JavaIdentifierExpression
- See Also:
Cube
toString
public final java.lang.String toString()
- Returns a string representation of that atomic expression. (simplify debugging)
- Overrides:
toString
in class java.lang.Object