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 |
---|
ExpressionFactory.LengthFunction(Expression args)
Constructs a new
LengthFunction . |
private Expression arg
public ExpressionFactory.LengthFunction(Expression args)
LengthFunction
.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.