net.sf.collections15
Interface ResettableIterator<E>

All Superinterfaces:
java.util.Iterator<E>
All Known Subinterfaces:
ResettableListIterator<E>
All Known Implementing Classes:
ArrayIterator, EmptyIterator

public interface ResettableIterator<E>
extends java.util.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.2 $ $Date: 2004/10/17 01:02:42 $
Author:
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 © 2001-2005 SourceForge.net. All Rights Reserved.