public static class InternalIterator.Collector<T> extends java.lang.Object implements InternalIterator<T>
InternalIterator.Collector<T>, InternalIterator.Filtering<T>
Constructor and Description |
---|
Collector(java.util.Collection<? super T> collection) |
Modifier and Type | Method and Description |
---|---|
static <T> InternalIterator<T> |
create(java.util.Collection<? super T> collection) |
boolean |
visit(T value) |
public Collector(java.util.Collection<? super T> collection)
public boolean visit(T value)
visit
in interface InternalIterator<T>
public static <T> InternalIterator<T> create(java.util.Collection<? super T> collection)