org.apache.commons.collections
Interface ResettableIterator<E>

All Superinterfaces:
Iterator<E>
All Known Subinterfaces:
ResettableListIterator<E>
All Known Implementing Classes:
AbstractDualBidiMap.BidiMapIterator, AbstractLinkedMap.EntrySetIterator, AbstractLinkedMap.KeySetIterator, AbstractLinkedMap.LinkMapIterator, AbstractLinkedMap.ValuesIterator, ArrayIterator, ArrayListIterator, DualTreeBidiMap.BidiOrderedMapIterator, EmptyIterator, EmptyListIterator, EmptyMapIterator, EmptyOrderedIterator, EmptyOrderedMapIterator, EntrySetMapIterator, LoopingIterator, ObjectArrayIterator, ObjectArrayListIterator, 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:
Commons Collections 3.0
Version:
$Revision: 1.1.1.1 $ $Date: 2005/05/23 04:33:20 $
Author:
Matt Hall, John Watkinson, Stephen Colebourne

Method Summary
 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 © 2005-2005 Apache Software Foundation, Matt Hall, John Watkinson. All Rights Reserved.