Interface Filter<E>
- Type Parameters:
E- the type of the element to filter
- All Known Implementing Classes:
ConstantFilter, MatchFilter, TypeFilter
public interface Filter<E>
Predicate deciding whether an element should be kept during filtering.
- Author:
- Florent Tornil
-
Method Summary
-
Method Details
-
filter
Return true if the element must be kept, false if it must be filtered- Parameters:
e- the element to check- Returns:
- true if the element must be kept, false if it must be filtered.
-