unity.functions
Class ConstantValue

java.lang.Object
  extended by unity.functions.Expression
      extended by unity.functions.ConstantValue

public class ConstantValue
extends Expression


Constructor Summary
ConstantValue(java.lang.Object obj)
           
 
Method Summary
 void changeType(int newType)
           
 java.lang.Object evaluate(Tuple t)
           
 java.lang.String toString()
           
 
Methods inherited from class unity.functions.Expression
computeType, getAttributeIndexReferences, getChild, getExprLocs, getNumChildren, getParent, getReturnType, hasChildren, setParent, setReturnType, toString, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConstantValue

public ConstantValue(java.lang.Object obj)
Method Detail

evaluate

public java.lang.Object evaluate(Tuple t)
Specified by:
evaluate in class Expression

changeType

public void changeType(int newType)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object