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