Class LazyCollection.ReverseListIterator

    • Field Detail

      • lastIndex

        protected final int lastIndex
      • index

        protected int index
    • Constructor Detail

      • ReverseListIterator

        public ReverseListIterator​(int lastIndex)
        Creates a new LazyCollection.ReverseIterator for the underlying List.
        Parameters:
        lastIndex - the last index in the underlying list.
      • ReverseListIterator

        public ReverseListIterator​(int lastIndex,
                                   int index)
        Creates a new LazyCollection.ReverseIterator for the underlying List.
        Parameters:
        lastIndex - the last index in the underlying list.
        index - the iterator starting index.
    • Method Detail

      • hasNext

        public boolean hasNext()
      • next

        public E next()
      • nextIndex

        public int nextIndex()
      • hasPrevious

        public boolean hasPrevious()
      • previous

        public E previous()
      • previousIndex

        public int previousIndex()