Package org.apache.flink.runtime.util
Interface ResettableIterator<E>
- All Superinterfaces:
Iterator<E>
- All Known Implementing Classes:
NonReusingBlockResettableIterator,ReusingBlockResettableIterator,SpillingResettableIterator
The resettable iterator is a specialization of the iterator, allowing to reset the iterator and
re-retrieve elements. Whether the iterator is completely reset or only partially depends on the
actual implementation.
-
Method Summary
Methods inherited from interface java.util.Iterator
forEachRemaining, hasNext, next, remove
-
Method Details
-
reset
Resets the iterator.- Throws:
IOException
-