public static class ExpressionFactory.ArrayFunction extends Object implements Expression
ExpressionFactory.ParameterFunction
.
If any of the arguments evaluate to null, the result will also be null.Modifier and Type | Field and Description |
---|---|
private List<Expression> |
args |
private Class<?> |
arrayComponentType |
private Class<?>[] |
expectedParameterTypes |
private Method |
m |
private boolean |
nullable |
Constructor and Description |
---|
ExpressionFactory.ArrayFunction(Method m,
List<Expression> args)
Constructs a new
ArrayFunction . |
private final boolean nullable
private final List<Expression> args
private final Class<?>[] expectedParameterTypes
private final Class<?> arrayComponentType
public ExpressionFactory.ArrayFunction(Method m, List<Expression> args)
ArrayFunction
.public Object evaluate(Environment env)
Expression
evaluate
in interface Expression
env
- The environmentList
, String or any
primitive type or wrapper classes of a primitive type.