org.apache.commons.collections

Interface ResettableIterator

All Superinterfaces:
Iterator
Known Subinterfaces:
ResettableListIterator
Known Implementing Classes:
AbstractDualBidiMap.BidiMapIterator, AbstractLinkedMap.EntrySetIterator, AbstractLinkedMap.KeySetIterator, AbstractLinkedMap.LinkIterator, AbstractLinkedMap.LinkMapIterator, AbstractLinkedMap.ValuesIterator, ArrayIterator, ArrayListIterator, DualTreeBidiMap.BidiOrderedMapIterator, EmptyIterator, EmptyListIterator, EmptyMapIterator, EmptyOrderedIterator, EmptyOrderedMapIterator, EntrySetMapIterator, ListIteratorWrapper, LoopingIterator, LoopingListIterator, ObjectArrayIterator, ObjectArrayListIterator, ReverseListIterator, SingletonIterator, SingletonListIterator

public interface ResettableIterator
extends Iterator

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

This interface allows an iterator to be repeatedly reused.

Version:
$Revision: 155406 $ $Date: 2005-02-26 12:55:26 +0000 (Sat, 26 Feb 2005) $
Author:
Stephen Colebourne
Since:
Commons Collections 3.0

Method Summary

void
reset()
Resets the iterator back to the position at which the iterator was created.

Method Details

reset

public void reset()
Resets the iterator back to the position at which the iterator was created.

Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.