Class AbstractSplitableIterator<T>
java.lang.Object
org.javimmutable.collections.iterators.AbstractSplitableIterator<T>
- All Implemented Interfaces:
Iterator<T>
,SplitableIterator<T>
- Direct Known Subclasses:
GenericIterator
,LazyMultiIterator
,SingleValueIterator
,TransformIterator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionspliterator
(int characteristics) Returns a Spliterator with the specified characteristics that use this Iterator to visit all elements.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining, hasNext, next, remove
Methods inherited from interface org.javimmutable.collections.SplitableIterator
isSplitAllowed, splitIterator
-
Constructor Details
-
AbstractSplitableIterator
public AbstractSplitableIterator()
-
-
Method Details
-
spliterator
Returns a Spliterator with the specified characteristics that use this Iterator to visit all elements. Advancing the Spliterator also advances this Iterator so the two cannot be used at the same time.- Specified by:
spliterator
in interfaceSplitableIterator<T>
-