public static class ExpressionFactory.LengthFunction extends Object implements Expression
ExpressionFactory.Functions.count(java.util.List) instead (see #10061).| Modifier and Type | Field and Description |
|---|---|
private Expression |
arg |
| Constructor and Description |
|---|
LengthFunction(Expression args)
Constructs a new
LengthFunction. |
private final Expression arg
public LengthFunction(Expression args)
LengthFunction.args - argumentspublic Object evaluate(Environment env)
Expressionevaluate in interface Expressionenv - The environmentList, String or any
primitive type or wrapper classes of a primitive type.