public class HashRangeMethodExecutor extends Object implements MethodExecutor
MethodExecutor using an first argument as key
to be used as a range search with a List of Object found from
a second argument.
Spel expression for this would be "range(region,{10,20,30,40})". Value 15 would create key "20_range", 40 key "40_range" and 45 key "40_range".
| Constructor and Description |
|---|
HashRangeMethodExecutor() |
| Modifier and Type | Method and Description |
|---|---|
TypedValue |
execute(EvaluationContext context,
Object target,
Object... arguments) |
static String |
range(Object arg1,
List<?> arg2) |
public TypedValue execute(EvaluationContext context, Object target, Object... arguments) throws AccessException
execute in interface MethodExecutorAccessExceptionpublic static String range(Object arg1, List<?> arg2) throws AccessException
AccessException