Package org.apache.commons.collections
Interface ResettableListIterator
-
- All Superinterfaces:
java.util.Iterator,java.util.ListIterator,ResettableIterator
- All Known Implementing Classes:
ArrayListIterator,EmptyListIterator,ListIteratorWrapper,LoopingListIterator,ObjectArrayListIterator,ReverseListIterator,SingletonListIterator
public interface ResettableListIterator extends java.util.ListIterator, ResettableIterator
Defines a list iterator that can be reset back to an initial state.This interface allows an iterator to be repeatedly reused.
- Since:
- Commons Collections 3.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidreset()Resets the iterator back to the position at which the iterator was created.
-
-
-
Method Detail
-
reset
void reset()
Resets the iterator back to the position at which the iterator was created.- Specified by:
resetin interfaceResettableIterator
-
-