Class AscendingRangeIterator

    • Field Detail

      • start

        long start
      • step

        long step
      • currentValue

        long currentValue
      • limit

        long limit
    • Constructor Detail

      • AscendingRangeIterator

        public AscendingRangeIterator​(long start,
                                      long step,
                                      long end)
        Create an iterator over a range of monotonically increasing integers
        Parameters:
        start - the first integer in the sequence
        step - the increment; must be GT 0
        end - the last integer in the sequence. Must be GE start.