org.apache.commons.collections4

## Interface ResettableIterator<E>

- Type Parameters:
    `E` - the type to iterate over
  All Superinterfaces:
    Iterator<E>
  All Known Subinterfaces:
    ResettableListIterator<E>
  All Known Implementing Classes:
    AbstractDualBidiMap.BidiMapIterator, AbstractLinkedMap.EntrySetIterator, AbstractLinkedMap.KeySetIterator, AbstractLinkedMap.LinkMapIterator, AbstractLinkedMap.ValuesIterator, AbstractSortedMapDecorator.SortedMapIterator, ArrayIterator, ArrayListIterator, DualTreeBidiMap.BidiOrderedMapIterator, EmptyIterator, EmptyListIterator, EmptyMapIterator, EmptyOrderedIterator, EmptyOrderedMapIterator, EntrySetMapIterator, EntrySetToMapIteratorAdapter, ListIteratorWrapper, LoopingIterator, LoopingListIterator, ObjectArrayIterator, ObjectArrayListIterator, ReverseListIterator, SingletonIterator, SingletonListIterator

      public interface ResettableIterator<E>
      extends Iterator<E>

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

  This interface allows an iterator to be repeatedly reused.

  Since:
    3.0
  Version:
    $Id: ResettableIterator.java 1543263 2013-11-19 00:47:55Z ggregory $

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `reset()` Resets the iterator back to the position at which the iterator was created.

    - ### Methods inherited from interface java.util.Iterator

      `hasNext, next, remove`

- - ### Method Detail

    - #### reset

          void reset()

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

Copyright © 2001–2015 The Apache Software Foundation. All rights reserved.