T
- the type of items this condition filters.public interface FilterCondition<T>
Modifier and Type | Interface and Description |
---|---|
static class |
FilterCondition.AcceptAllCondition<T>
A convenience condition class which always returns true
|
static class |
FilterCondition.RejectAllCondition<T>
A convenience condition class which always returns false
|
Modifier and Type | Method and Description |
---|---|
boolean |
include(T item) |
boolean include(T item)
item
- the itemitem
should be included, false if it should be filtered