| java.lang.Object com.google.gwt.junit.client.IntRange
IntRange | public class IntRange implements Range<Integer>(Code) | | A
com.google.gwt.junit.client.Range that 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.
|
Constructor Summary | |
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 . |
Method Summary | |
public IntRangeIterator | iterator() |
IntRange | public IntRange(int start, int end, Operator operator, int step)(Code) | | 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. Parameters: end - Ending value, inclusive. Parameters: operator - The function used to step. Parameters: step - The amount to step by, for each iteration. |
iterator | public IntRangeIterator iterator()(Code) | | |
|
|