Class LazyCollection.ReverseIterator

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected int index  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean hasNext()
      E next()
      • 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
    • Field Detail

      • index

        protected int index
    • Constructor Detail

      • ReverseIterator

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

      • hasNext

        public boolean hasNext()
      • next

        public E next()