Class RangeIterator

    • Constructor Detail

      • RangeIterator

        public RangeIterator​(long start,
                             long end)
        Create an iterator over a range of monotonically increasing integers
        Parameters:
        start - the first integer in the sequence
        end - the last integer in the sequence. Must be >= start.