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