public static class ExpressionFactory.LengthFunction extends java.lang.Object implements Expression
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. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
evaluate(Environment env)
Evaluate this expression.
|
private final Expression arg
public LengthFunction(Expression args)
LengthFunction.args - argumentspublic java.lang.Object evaluate(Environment env)
Expressionevaluate in interface Expressionenv - The environmentList, String or any
primitive type or wrapper classes of a primitive type.