T
- the kind of items this filter handlespublic interface Filter<T>
Modifier and Type | Method and Description |
---|---|
boolean |
includes(T item)
Tells whether the item
item should be included or not. |
boolean includes(T item)
item
should be included or not.item
- the item to include, depending on the user of this filter the item may or may not be null
true
if item
is included, false
if item
is excluded