|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gwt.junit.client.IntRange
public class IntRange
A 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 | |
---|---|
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 | |
---|---|
java.util.Iterator |
iterator()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IntRange(int start, int end, Operator operator, int step)
start
, end at end
and increment by the
stepping function described by operator
and
step
.
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 |
---|
public java.util.Iterator iterator()
iterator
in interface Range
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |