unity.functions
Class M_Choose

java.lang.Object
  extended by unity.functions.Expression
      extended by unity.functions.MatchFunction
          extended by unity.functions.M_Choose

public class M_Choose
extends MatchFunction


Field Summary
 
Fields inherited from class unity.functions.MatchFunction
functionCount
 
Constructor Summary
M_Choose(Expression exp1, Expression exp2, int src)
           
 
Method Summary
 java.lang.Object evaluate(Tuple t)
           
 java.lang.String toString(Relation relation, Attribute outputAttribute)
           
 
Methods inherited from class unity.functions.MatchFunction
getExprLocs, toString
 
Methods inherited from class unity.functions.Expression
computeType, getAttributeIndexReferences, getChild, getNumChildren, getParent, getReturnType, hasChildren, setParent, setReturnType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

M_Choose

public M_Choose(Expression exp1,
                Expression exp2,
                int src)
Method Detail

evaluate

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

toString

public java.lang.String toString(Relation relation,
                                 Attribute outputAttribute)
Overrides:
toString in class Expression