Class LazyCollection.IntegerRangeListIterator

    • Field Detail

      • first

        protected final int first
      • last

        protected final int last
      • index

        protected int index
    • Constructor Detail

      • IntegerRangeListIterator

        public IntegerRangeListIterator​(int first,
                                        int last)
        Parameters:
        first - the first element of the range
        last - the last element of the range
      • IntegerRangeListIterator

        public IntegerRangeListIterator​(int first,
                                        int 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.Integer next()
      • hasPrevious

        public boolean hasPrevious()
      • previous

        public java.lang.Integer previous()
      • nextIndex

        public int nextIndex()
      • previousIndex

        public int previousIndex()