T
- the type of objects filtered by this Filterpublic abstract class Filter<T>
extends java.lang.Object
Constructor and Description |
---|
Filter() |
Modifier and Type | Method and Description |
---|---|
CloseableIterable<T> |
filter(CloseableIterable<T> items) |
java.lang.Iterable<T> |
filter(java.lang.Iterable<T> items) |
protected abstract boolean |
shouldKeep(T item) |
protected abstract boolean shouldKeep(T item)
public CloseableIterable<T> filter(CloseableIterable<T> items)