public class UniformIntRangeIterable extends Object implements NumericIterable<Integer>
start (inclusive) to another number
stop (exclusive). There is an optional step
size.| Constructor and Description |
|---|
UniformIntRangeIterable(int start,
int stop)
Construct a UniformIntRangeIterator with the given values
|
UniformIntRangeIterable(int start,
int stop,
int step)
Construct a UniformIntRangeIterator with the given values
|
public UniformIntRangeIterable(int start, int stop, int step)
start - the starting value (inclusive)stop - the stopping number (exclusive)step - the step sizepublic UniformIntRangeIterable(int start, int stop)
start - the starting value (inclusive)stop - the stopping number (exclusive)