Class LazyCollection.SubListIterator

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected int i  
      protected int toIndex  
    • 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

      • toIndex

        protected final int toIndex
      • i

        protected int i
    • Constructor Detail

      • SubListIterator

        public SubListIterator​(int fromIndex,
                               int toIndex)
        Creates a LazyCollection.SubListIterator for the range fromIndex, including, to toIndex, excluding.
        Parameters:
        fromIndex - the starting index, inclusive
        toIndex - the ending index, exclusive
    • Method Detail

      • hasNext

        public boolean hasNext()
      • next

        public E next()