Package org.apache.commons.collections
Interface ResettableIterator
-
- All Superinterfaces:
Iterator
- All Known Subinterfaces:
ResettableListIterator
- All Known Implementing Classes:
ArrayIterator
,ArrayListIterator
,EmptyIterator
,EmptyListIterator
,EmptyMapIterator
,EmptyOrderedIterator
,EmptyOrderedMapIterator
,EntrySetMapIterator
,ListIteratorWrapper
,LoopingIterator
,LoopingListIterator
,ObjectArrayIterator
,ObjectArrayListIterator
,ReverseListIterator
,SingletonIterator
,SingletonListIterator
@Deprecated(since="2021-04-30") public interface ResettableIterator extends Iterator
Deprecated.Commons Collections 3 is in maintenance mode. Commons Collections 4 should be used instead.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
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description void
reset()
Deprecated.Resets the iterator back to the position at which the iterator was created.-
Methods inherited from interface java.util.Iterator
forEachRemaining, hasNext, next, remove
-
-