public interface Filter
Filter is used to filter a list of items. The nature of the filtering is determined by the
implementation.| Modifier and Type | Method and Description |
|---|---|
<T> java.util.List<T> |
filter(java.util.List<T> items,
java.lang.Object key)
Filters the given
List of items. |
<T> java.util.List<T> filter(java.util.List<T> items,
java.lang.Object key)
List of items. The key may be used by an implementation to
influence the filtering.items - The items to filter. Must not be null.key - The keynull.java.lang.IllegalArgumentException - if items is null