|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- Type of elements to filter on.public interface Filter<T>
Interface to be implemented by filters on specific types.
Nested Class Summary | |
---|---|
static class |
Filter.AndFilter<T>
|
static class |
Filter.CombinedFilter<T>
|
static class |
Filter.EqualFilter<T>
|
static class |
Filter.ImpliesFilter<T>
|
static class |
Filter.NotFilter<T>
|
static class |
Filter.OrFilter<T>
|
static class |
Filter.Util
Usage example import static de.espirit.common.util.Filter.Util.and; import static de.espirit.common.util.Filter.Util.doFilter; import static de.espirit.common.util.Filter.Util.not; import static de.espirit.common.util.Filter.Util.or; ... |
Method Summary | |
---|---|
boolean |
accept(T element)
Determines, whether the given element should be accepted by this filter. |
Method Detail |
---|
boolean accept(T element)
element
- The element to test.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |