public class

IntRange

extends Object
implements Iterable<T>
java.lang.Object
   ↳ com.google.gwt.benchmarks.client.IntRange

Class Overview

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.

Summary

Public Constructors
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.
Public Methods
IntRange.IntRangeIterator iterator()
[Expand]
Inherited Methods
From class java.lang.Object
From interface java.lang.Iterable

Public Constructors

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.

Public Methods

public IntRange.IntRangeIterator iterator ()