Package org.apache.commons.collections
Interface ResettableListIterator
-
- All Superinterfaces:
Iterator,ListIterator,ResettableIterator
- All Known Implementing Classes:
ArrayListIterator,EmptyListIterator,ListIteratorWrapper,LoopingListIterator,ObjectArrayListIterator,ReverseListIterator,SingletonListIterator
@Deprecated(since="2021-04-30") public interface ResettableListIterator extends ListIterator, ResettableIterator
Deprecated.Commons Collections 3 is in maintenance mode. Commons Collections 4 should be used instead.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 Deprecated Methods Modifier and Type Method Description voidreset()Deprecated.Resets the iterator back to the position at which the iterator was created.-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Methods inherited from interface java.util.ListIterator
add, hasNext, hasPrevious, next, nextIndex, previous, previousIndex, remove, set
-
-
-
-
Method Detail
-
reset
void reset()
Deprecated.Resets the iterator back to the position at which the iterator was created.- Specified by:
resetin interfaceResettableIterator
-
-