com.google.gwt.benchmarks.client

## Class IntRange

- java.lang.Object
- - com.google.gwt.benchmarks.client.IntRange

- All Implemented Interfaces:
    java.lang.Iterable<java.lang.Integer>

      public class IntRange
      extends java.lang.Object
      implements java.lang.Iterable<java.lang.Integer>

  Iterates over a start and end value by a stepping function. Typically used by benchmarks to supply a range of values over an integral parameter, such as size or length.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `(package private) int` | `end`
    `(package private) Operator` | `operator`
    `(package private) int` | `start`
    `(package private) int` | `step`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `IntRange(int start, int end, Operator operator, int step)` Creates a new range that produces Iterators which begin at `start`, end at `end` and increment by the stepping function described by `operator` and `step`.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `com.google.gwt.benchmarks.client.IntRange.IntRangeIterator` | `iterator()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### end

          int end

    - #### operator

          Operator operator

    - #### start

          int start

    - #### step

          int step

  - ### Constructor Detail

    - #### IntRange

          public IntRange(int start,
                  int end,
                  Operator operator,
                  int step)

      Creates a new range that produces Iterators which begin at `start`, end at `end` and increment by the stepping function described by `operator` and `step`.
      Parameters:
        `start` - Initial starting value, inclusive.
        `end` - Ending value, inclusive.
        `operator` - The function used to step.
        `step` - The amount to step by, for each iteration.

  - ### Method Detail

    - #### iterator

          public com.google.gwt.benchmarks.client.IntRange.IntRangeIterator iterator()

      Specified by:
        `iterator` in interface `java.lang.Iterable<java.lang.Integer>`