org.araneaframework.backend.list.memorybased.expression
Class AlwaysTrueExpression

java.lang.Object
  extended byorg.araneaframework.backend.list.memorybased.expression.AlwaysTrueExpression
All Implemented Interfaces:
Expression, Serializable

public class AlwaysTrueExpression
extends Object
implements Expression

Expression that always evaluates to Boolean.TRUE

See Also:
Serialized Form

Constructor Summary
AlwaysTrueExpression()
           
 
Method Summary
 Object evaluate(VariableResolver resolver)
          Evaluates this Expression by returning its value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlwaysTrueExpression

public AlwaysTrueExpression()
Method Detail

evaluate

public Object evaluate(VariableResolver resolver)
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.