public static class ExpressionFactory.OrOperator extends Object implements Expression
Modifier and Type | Field and Description |
---|---|
private List<Expression> |
args |
Constructor and Description |
---|
OrOperator(List<Expression> args)
Constructs a new
OrOperator . |
private final List<Expression> args
public OrOperator(List<Expression> args)
OrOperator
.args
- argumentspublic Object evaluate(Environment env)
Expression
evaluate
in interface Expression
env
- The environmentList
, String or any
primitive type or wrapper classes of a primitive type.