org.objectweb.medor.filter.lib
Class IsEmpty
java.lang.Object
BasicUnaryOperator
org.objectweb.medor.filter.lib.IsEmpty
- public class IsEmpty
- extends BasicUnaryOperator
IsEmpty operates on an Expression which must be of a TupleCollection type,
or a GenClassRef. Its evaluation returns true if the Expression is an empty
TupleCollection or if the GenClassRef has no element.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IsEmpty
public IsEmpty()
IsEmpty
public IsEmpty(Expression e)
evaluate
public Operand evaluate(ParameterOperand[] pos,
java.lang.Object o)
throws ExpressionException
- Throws:
ExpressionException
evaluate
public boolean evaluate(java.lang.Object op)
compileExpression
public Operand compileExpression()
throws ExpressionException,
MalformedExpressionException
- Throws:
ExpressionException
MalformedExpressionException
getOperatorString
public java.lang.String getOperatorString()