Class ReverseListSpliterator<E>

java.lang.Object
org.jhotdraw8.collection.spliterator.AbstractListIteratorSpliterator<E>
org.jhotdraw8.collection.spliterator.ReverseListSpliterator<E>
All Implemented Interfaces:
Iterator<E>, ListIterator<E>, Spliterator<E>

public class ReverseListSpliterator<E> extends AbstractListIteratorSpliterator<E>
  • Constructor Details

    • ReverseListSpliterator

      public ReverseListSpliterator(List<E> list, int fromInclusive, int toExclusive)
  • Method Details

    • hasNext

      public boolean hasNext()
    • moveNext

      public boolean moveNext()
    • current

      public E current()
    • next

      public E next()
    • hasPrevious

      public boolean hasPrevious()
    • previous

      public E previous()
    • nextIndex

      public int nextIndex()
    • previousIndex

      public int previousIndex()
    • tryAdvance

      public boolean tryAdvance(Consumer<? super E> action)
    • trySplit

      public @Nullable Spliterator<E> trySplit()
    • estimateSize

      public long estimateSize()