public class AcceptOnceCollectionFilter<T> extends 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() |
public Collection<T> filter(Collection<T> unfilteredElements)
filter in interface CollectionFilter<T>