org.objectweb.medor.filter.lib
Class InCollection
java.lang.Object
BasicBinaryOperator
org.objectweb.medor.filter.lib.InCollection
- public class InCollection
- extends BasicBinaryOperator
The InCollection class is an operator testing whether the value of a
Field (the left operand, which is supposed to be a FieldOperand) is equal to
one of the elements of a collecton (the right Operand)
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InCollection
public InCollection(FieldOperand left,
Operand right,
PType elemType)
clone
public java.lang.Object clone(java.lang.Object clone,
java.util.Map obj2clone)
throws java.lang.CloneNotSupportedException
- Throws:
java.lang.CloneNotSupportedException
getElemType
public PType getElemType()
- Returns the declared PType of the elements.
evaluate
public Operand evaluate(ParameterOperand[] pos,
java.lang.Object o)
throws ExpressionException
- Throws:
ExpressionException
compileExpression
public Operand compileExpression()
throws TypingException,
MalformedExpressionException
- Throws:
TypingException
MalformedExpressionException
getOperatorString
public java.lang.String getOperatorString()