T
- the kind of items this filter handlespublic interface Filter<T>
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