public interface Filter<T>
Modifier and Type | Method and Description |
---|---|
boolean |
accept(T value)
Determines whether the specified object is "accepted" by the filter.
|
boolean accept(T value)
value
- The value to filtertrue
if the given value is "accepted" by this filter; false
if it was "rejected"