Package com.intellij.util.containers
Class InternalIterator.Collector<T>
- java.lang.Object
-
- com.intellij.util.containers.InternalIterator.Collector<T>
-
- All Implemented Interfaces:
InternalIterator<T>
- Enclosing interface:
- InternalIterator<T>
public static class InternalIterator.Collector<T> extends Object implements InternalIterator<T>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.intellij.util.containers.InternalIterator
InternalIterator.Collector<T>, InternalIterator.Converting<Dom,Rng>, InternalIterator.Filtering<T>, InternalIterator.MapFromValues<K,Dom,V extends Dom>
-
-
Constructor Summary
Constructors Constructor Description Collector(Collection<T> collection)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T> InternalIterator<T>
create(Collection<T> collection)
boolean
visit(T value)
-
-
-
Constructor Detail
-
Collector
public Collector(Collection<T> collection)
-
-
Method Detail
-
visit
public boolean visit(T value)
- Specified by:
visit
in interfaceInternalIterator<T>
- Returns:
- false to stop iteration true to continue if more elements are avaliable.
-
create
public static <T> InternalIterator<T> create(Collection<T> collection)
-
-