Class ReversedListIterator<T>

java.lang.Object
ch.njol.util.coll.iterator.ReversedListIterator<T>
All Implemented Interfaces:
Iterator<T>, ListIterator<T>

@Deprecated(since="2.10.0", forRemoval=true) public class ReversedListIterator<T> extends Object implements ListIterator<T>
Deprecated, for removal: This API element is subject to removal in a future version.
unused
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    ReversedListIterator(List<T> list, int index)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    add(T e)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    set(T e)
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface java.util.Iterator

    forEachRemaining
  • Constructor Details

    • ReversedListIterator

      public ReversedListIterator(List<T> list)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • ReversedListIterator

      public ReversedListIterator(List<T> list, int index)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • ReversedListIterator

      public ReversedListIterator(ListIterator<T> iter)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • hasNext

      public boolean hasNext()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      hasNext in interface Iterator<T>
      Specified by:
      hasNext in interface ListIterator<T>
    • next

      @Nullable public T next()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      next in interface Iterator<T>
      Specified by:
      next in interface ListIterator<T>
    • hasPrevious

      public boolean hasPrevious()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      hasPrevious in interface ListIterator<T>
    • previous

      @Nullable public T previous()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      previous in interface ListIterator<T>
    • nextIndex

      public int nextIndex()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      nextIndex in interface ListIterator<T>
    • previousIndex

      public int previousIndex()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      previousIndex in interface ListIterator<T>
    • remove

      public void remove()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      remove in interface Iterator<T>
      Specified by:
      remove in interface ListIterator<T>
    • set

      public void set(@Nullable T e)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      set in interface ListIterator<T>
    • add

      public void add(@Nullable T e)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      add in interface ListIterator<T>