Interface ResettableListIterator

  • All Superinterfaces:
    java.util.Iterator, java.util.ListIterator, ResettableIterator
    All Known Implementing Classes:
    ArrayListIterator, EmptyListIterator, ListIteratorWrapper, LoopingListIterator, ObjectArrayListIterator, ReverseListIterator, SingletonListIterator

    @Deprecated(since="2021-04-30")
    public interface ResettableListIterator
    extends java.util.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 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
      • 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:
        reset in interface ResettableIterator