|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConvenientFilter<T>
This interface adds a few convenience methods for combining different filters.
Method Summary | |
---|---|
ConvenientFilter<T> |
and(Filter<? super T> filter)
Combines the two filters using the logical AND operation and returns the combined filter. |
ConvenientFilter<T> |
not()
Creates a filter that negates the result from this filter. |
ConvenientFilter<T> |
or(Filter<? super T> filter)
Combines the two filters using the logical OR operation and returns the combined filter. |
ConvenientFilter<T> |
xor(Filter<? super T> filter)
Combines the two filters using the logical XOR operation and returns the combined filter. |
Methods inherited from interface org.entityfs.support.filter.Filter |
---|
matches |
Method Detail |
---|
ConvenientFilter<T> and(Filter<? super T> filter)
filter
- The filter to combine this filter with.
ConvenientFilter<T> or(Filter<? super T> filter)
filter
- The filter to combine this filter with.
ConvenientFilter<T> xor(Filter<? super T> filter)
filter
- The filter to combine this filter with.
ConvenientFilter<T> not()
A filter implementing this method is also recommended to implement a
method called bitwiseNegate
that delegates to this method. That
makes it possible to negate the filter using the ~
operator in a
Groovy script.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |