public class IndexHelper extends Object
FilterParamIndexBase
and the filter parameter FilterSpecParam
featuring the same event property name and filter operator.Constructor and Description |
---|
IndexHelper() |
Modifier and Type | Method and Description |
---|---|
static Pair<FilterValueSetParam,FilterParamIndexBase> |
findIndex(ArrayDeque<FilterValueSetParam> parameters,
List<FilterParamIndexBase> indizes)
Find an index that matches one of the filter parameters passed.
|
static FilterValueSetParam |
findParameter(ArrayDeque<FilterValueSetParam> parameters,
FilterParamIndexBase index)
Determine among the passed in filter parameters any parameter that matches the given index on property name and
filter operator type.
|
public static Pair<FilterValueSetParam,FilterParamIndexBase> findIndex(ArrayDeque<FilterValueSetParam> parameters, List<FilterParamIndexBase> indizes)
parameters
- is the list of sorted filter parametersindizes
- is the collection of indexespublic static FilterValueSetParam findParameter(ArrayDeque<FilterValueSetParam> parameters, FilterParamIndexBase index)
parameters
- is the filter parameter listindex
- is a filter parameter constant value index