public static class ExpressionFactory.CondOperator extends Object implements Expression
| Modifier and Type | Field and Description |
|---|---|
private Expression |
condition |
private Expression |
firstOption |
private Expression |
secondOption |
| Constructor and Description |
|---|
CondOperator(Expression condition,
Expression firstOption,
Expression secondOption) |
private Expression condition
private Expression firstOption
private Expression secondOption
public CondOperator(Expression condition, Expression firstOption, Expression secondOption)
public Object evaluate(Environment env)
Expressionevaluate in interface Expressionenv - The environmentList, String or any
primitive type or wrapper classes of a primitive type.