Class LazyCollection.LongRangeListIterator

    • Field Detail

      • first

        protected final long first
      • last

        protected final long last
      • index

        protected int index
    • Constructor Detail

      • LongRangeListIterator

        public LongRangeListIterator​(long first,
                                     long last)
        Parameters:
        first - the first element of the range
        last - the last element of the range
      • LongRangeListIterator

        public LongRangeListIterator​(long first,
                                     long last,
                                     int index)
        Parameters:
        first - the first element of the range
        last - the last element of the range
        index - the starting index of the list iterator
    • Method Detail

      • hasNext

        public boolean hasNext()
      • next

        public java.lang.Long next()
      • hasPrevious

        public boolean hasPrevious()
      • previous

        public java.lang.Long previous()
      • nextIndex

        public int nextIndex()
      • previousIndex

        public int previousIndex()