public static class ExpressionFactory.CondOperator extends java.lang.Object implements Expression
Modifier and Type | Field and Description |
---|---|
private Expression |
condition |
private Expression |
firstOption |
private Expression |
secondOption |
Constructor and Description |
---|
ExpressionFactory.CondOperator(Expression condition,
Expression firstOption,
Expression secondOption) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
evaluate(Environment env)
Evaluate this expression.
|
private Expression condition
private Expression firstOption
private Expression secondOption
public ExpressionFactory.CondOperator(Expression condition, Expression firstOption, Expression secondOption)
public 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.