opennlp.tools.util
Interface ResetableIterator<E>

All Superinterfaces:
Iterator<E>

public interface ResetableIterator<E>
extends Iterator<E>

This interface makes an Iterator resetable.


Method Summary
 void reset()
          Sets the Iterator back to the first retrieved element, the seen sequence of elements must be repeated.
 
Methods inherited from interface java.util.Iterator
hasNext, next, remove
 

Method Detail

reset

void reset()
Sets the Iterator back to the first retrieved element, the seen sequence of elements must be repeated.



Copyright © 2010. All Rights Reserved.