public class AcceptOnceCollectionFilter<T> extends java.lang.Object implements CollectionFilter<T>
CollectionFilter that remembers the elements passed in
the previous invocation in order to avoid returning those elements more than once.| Constructor and Description |
|---|
AcceptOnceCollectionFilter() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<T> |
filter(java.util.Collection<T> unfilteredElements) |
public java.util.Collection<T> filter(java.util.Collection<T> unfilteredElements)
filter in interface CollectionFilter<T>