org.araneaframework.backend.list.memorybased.expression.compare
Class EqualsExpression
java.lang.Object
org.araneaframework.backend.list.memorybased.expression.compare.EqualsExpression
- All Implemented Interfaces:
- CompositeExpression, Expression, Serializable
- public class EqualsExpression
- extends Object
- implements CompositeExpression
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
expr1
protected Expression expr1
expr2
protected Expression expr2
EqualsExpression
public EqualsExpression(Expression expr1,
Expression expr2)
evaluate
public Object evaluate(VariableResolver resolver)
throws ExpressionEvaluationException
- Description copied from interface:
Expression
- Evaluates this
Expression by returning its value. The
returned value may also be null.
- Specified by:
evaluate in interface Expression
- Parameters:
resolver - Resolver that is used to evalute Variables.
- Returns:
- the value of this
Expression.
- Throws:
ExpressionEvaluationException - when the evaluating fails.
getChildren
public Expression[] getChildren()
- Specified by:
getChildren in interface CompositeExpression