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.
Apache Commons Collections version 3.x is being deprecated from AEMaaCS. The upgraded version 4.4 of Commons Collections is already included as replacement. Customers are advised to upgrade to this version of the library. Please note: the package name was changed to org.apache.commons.collections4. Further note that there are AEM APIs currently exposing the old collections classes; these will be updated in upcoming releases.
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 Details
-
reset
void reset()Deprecated.Resets the iterator back to the position at which the iterator was created.
-