Top Description Methods
org.apache.commons.collections4

public Interface ResettableIterator<E>

extends Iterator<E>
Known Direct Subinterfaces
org.apache.commons.collections4.ResettableListIterator
Known Direct Implementers
org.apache.commons.collections4.bidimap.AbstractDualBidiMap.BidiMapIterator, org.apache.commons.collections4.bidimap.DualTreeBidiMap.BidiOrderedMapIterator, org.apache.commons.collections4.iterators.ArrayIterator, org.apache.commons.collections4.iterators.EmptyIterator, org.apache.commons.collections4.iterators.EmptyMapIterator, org.apache.commons.collections4.iterators.EmptyOrderedIterator, org.apache.commons.collections4.iterators.EmptyOrderedMapIterator, org.apache.commons.collections4.iterators.EntrySetMapIterator, org.apache.commons.collections4.iterators.LoopingIterator, org.apache.commons.collections4.iterators.ObjectArrayIterator, org.apache.commons.collections4.iterators.SingletonIterator, org.apache.commons.collections4.map.AbstractLinkedMap.LinkMapIterator, org.apache.commons.collections4.map.AbstractLinkedMap.EntrySetIterator, org.apache.commons.collections4.map.AbstractLinkedMap.KeySetIterator, org.apache.commons.collections4.map.AbstractLinkedMap.ValuesIterator, org.apache.commons.collections4.map.EntrySetToMapIteratorAdapter, org.apache.commons.collections4.map.Flat3Map.FlatMapIterator, org.apache.commons.collections4.map.ListOrderedMap.ListOrderedMapIterator, org.apache.commons.collections4.map.SingletonMap.SingletonMapIterator
Type Parameters
<E>
the type of elements returned by this iterator
Imports
java.util.Iterator

Defines an iterator that can be reset back to an initial state.

This interface allows an iterator to be repeatedly reused.

Since
3.0

Method Summary

Modifier and TypeMethod and Description
public void
reset()

Resets the iterator back to the position at which the iterator was created.

Inherited from java.util.Iterator:
forEachRemaininghasNextnextremove

Method Detail

resetback to summary
public void reset()

Resets the iterator back to the position at which the iterator was created.