public static class ExpressionFactory.LengthFunction extends java.lang.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) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
evaluate(Environment env)
Evaluate this expression.
|
private Expression arg
public ExpressionFactory.LengthFunction(Expression args)
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.