unity.functions
Class M_ChooseNN

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

public class M_ChooseNN
extends MatchFunction


Field Summary
 
Fields inherited from class unity.functions.MatchFunction
functionCount
 
Constructor Summary
M_ChooseNN(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_ChooseNN

public M_ChooseNN(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