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 Object[] |
convertedArgs |
private Method |
m |
Constructor and Description |
---|
ArrayFunction(Method m,
List<Expression> args) |
private final List<Expression> args
private final Class<?> arrayComponentType
private final Object[] convertedArgs
public ArrayFunction(Method m, List<Expression> args)
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.