public interface TwoFiltersPositionFilter extends ContainsFilter
This filter compares the position of the first object matching the
first specified filter in the list returned by the attribute to the position
of the first object matching the second filter.
Example:
The filter list POSITION (item = b) < (item = c) applied to the
list [a, b, c, d] matches, because item b is positioned
before item c
list POSITION (item = b OR item = a) = (item = b) will not match, however,
because the first matching item is a which is the first item in the list and
has a position not equal to that of item b
| Modifier and Type | Method and Description |
|---|---|
ComparisonOperator |
getOperator()
Returns the comparison operator used in the comparison of the two list positions.
|
Filter |
getSecondFilterOnAttribute()
Returns the filter that is applied to the set returned by the attribute to
return the second position
|
getAttribute, getFilterOnAttributeComparisonOperator getOperator()
Filter getSecondFilterOnAttribute()