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.
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 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 Details

    • reset

      void reset()
      Deprecated.
      Resets the iterator back to the position at which the iterator was created.
      Specified by:
      reset in interface ResettableIterator