Smack

org.jivesoftware.smack.util.collections
Interface ResettableIterator<E>

All Superinterfaces:
Iterator<E>
All Known Implementing Classes:
EmptyIterator, EmptyMapIterator

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 $ $Date: 2005/10/11 17:05:19 $
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.


Smack

Copyright © 2003 Jive Software.