org.apache.commons.collections

Interface ResettableIterator

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.

Since: Commons Collections 3.0

Version: $Revision: 646777 $ $Date: 2008-04-10 13:33:15 +0100 (Thu, 10 Apr 2008) $

Author: Stephen Colebourne

Method Summary
voidreset()
Resets the iterator back to the position at which the iterator was created.

Method Detail

reset

public void reset()
Resets the iterator back to the position at which the iterator was created.
Copyright © 2001-2009 Apache Software Foundation. All Rights Reserved.