ValueType - the type of the internal value.public abstract class ExecutionResult<ValueType> extends ExecutionReturn
QUIT, UNDEF, VOID| Constructor and Description |
|---|
ExecutionResult() |
| Modifier and Type | Method and Description |
|---|---|
abstract ExecutionResult<ValueType> |
clone() |
boolean |
equals(java.lang.Object obj)
Indicates whether or not the internal value equals the internal value of the given ExecutionResult.
|
java.lang.String |
getSign()
Returns the short sign of the type.
|
java.lang.String |
getStringRepresentation()
Returns a user-readable string representation of this instance.
|
abstract ScriptType |
getType()
Returns the type of the result.
|
java.lang.String |
getTypeName()
Returns the name of the type.
|
abstract ValueType |
getValue()
Returns the internal value.
|
boolean |
isZero()
Indicates whether or not the value is zero, regardless, of which type this zero is.
|
abstract void |
setValue(ValueType value)
Sets the internal value.
|
java.lang.String |
toString() |
getScriptConstantRepresentation, isStopExecutionpublic abstract ValueType getValue()
public abstract void setValue(ValueType value)
value - the new value.public abstract ScriptType getType()
public abstract ExecutionResult<ValueType> clone()
clone in class java.lang.Objectpublic java.lang.String getTypeName()
public java.lang.String getSign()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getStringRepresentation()
ExecutionReturngetStringRepresentation in class ExecutionReturnpublic boolean isZero()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Object