public class UniformLongRangeIterable extends Object implements NumericIterable<Long>
start
(inclusive) to another number
stop
(exclusive). There is an optional step
size.Constructor and Description |
---|
UniformLongRangeIterable(long start,
long stop)
Construct a UniformLongRangeIterator with the given values
|
UniformLongRangeIterable(long start,
long stop,
long step)
Construct a UniformLongRangeIterator with the given values
|
Modifier and Type | Method and Description |
---|---|
Iterator<Long> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public UniformLongRangeIterable(long start, long stop, long step)
start
- the starting value (inclusive)stop
- the stopping number (exclusive)step
- the step sizepublic UniformLongRangeIterable(long start, long stop)
start
- the starting value (inclusive)stop
- the stopping number (exclusive)