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