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> List<T> |
filter(List<T> items,
Object key)
Filters the given
List of items . |
<T> List<T> filter(List<T> items, 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
.IllegalArgumentException
- if items
is nullCopyright © 2016. All rights reserved.