public class BigFloatStream
extends java.lang.Object
BigFloat
elements.Constructor and Description |
---|
BigFloatStream() |
Modifier and Type | Method and Description |
---|---|
static java.util.stream.Stream<BigFloat> |
range(BigFloat startInclusive,
BigFloat endExclusive,
BigFloat step)
Returns a sequential ordered
Stream<BigFloat> from startInclusive
(inclusive) to endExclusive (exclusive) by an incremental step . |
static java.util.stream.Stream<BigFloat> |
range(double startInclusive,
double endExclusive,
double step,
BigFloat.Context context)
Returns a sequential ordered
Stream<BigFloat> from startInclusive
(inclusive) to endExclusive (exclusive) by an incremental step . |
static java.util.stream.Stream<BigFloat> |
range(long startInclusive,
long endExclusive,
long step,
BigFloat.Context context)
Returns a sequential ordered
Stream<BigFloat> from startInclusive
(inclusive) to endExclusive (exclusive) by an incremental step . |
static java.util.stream.Stream<BigFloat> |
rangeClosed(BigFloat startInclusive,
BigFloat endInclusive,
BigFloat step)
Returns a sequential ordered
Stream<BigFloat> from startInclusive
(inclusive) to endInclusive (inclusive) by an incremental step . |
static java.util.stream.Stream<BigFloat> |
rangeClosed(double startInclusive,
double endInclusive,
double step,
BigFloat.Context context)
Returns a sequential ordered
Stream<BigFloat> from startInclusive
(inclusive) to endInclusive (inclusive) by an incremental step . |
static java.util.stream.Stream<BigFloat> |
rangeClosed(long startInclusive,
long endInclusive,
long step,
BigFloat.Context context)
Returns a sequential ordered
Stream<BigFloat> from startInclusive
(inclusive) to endInclusive (inclusive) by an incremental step . |
public static java.util.stream.Stream<BigFloat> range(BigFloat startInclusive, BigFloat endExclusive, BigFloat step)
Stream<BigFloat>
from startInclusive
(inclusive) to endExclusive
(exclusive) by an incremental step
.
An equivalent sequence of increasing values can be produced
sequentially using a for
loop as follows:
for (BigFloat i = startInclusive; i.isLessThan(endExclusive); i = i.add(step)) { // ... }
startInclusive
- the (inclusive) initial valueendExclusive
- the exclusive upper boundstep
- the step between elementsStream<BigFloat>
public static java.util.stream.Stream<BigFloat> range(long startInclusive, long endExclusive, long step, BigFloat.Context context)
Stream<BigFloat>
from startInclusive
(inclusive) to endExclusive
(exclusive) by an incremental step
.
BigFloat.Context.valueOf(long)
is used to convert the long
values.
startInclusive
- the (inclusive) initial valueendExclusive
- the exclusive upper boundstep
- the step between elementscontext
- the BigFloat.Context
used to convert the long
valuesStream<BigFloat>
range(BigFloat, BigFloat, BigFloat)
public static java.util.stream.Stream<BigFloat> range(double startInclusive, double endExclusive, double step, BigFloat.Context context)
Stream<BigFloat>
from startInclusive
(inclusive) to endExclusive
(exclusive) by an incremental step
.
BigFloat.Context.valueOf(double)
is used to convert the double
values.
startInclusive
- the (inclusive) initial valueendExclusive
- the exclusive upper boundstep
- the step between elementscontext
- the BigFloat.Context
used to convert the double
valuesStream<BigFloat>
range(BigFloat, BigFloat, BigFloat)
public static java.util.stream.Stream<BigFloat> rangeClosed(BigFloat startInclusive, BigFloat endInclusive, BigFloat step)
Stream<BigFloat>
from startInclusive
(inclusive) to endInclusive
(inclusive) by an incremental step
.
An equivalent sequence of increasing values can be produced
sequentially using a for
loop as follows:
for (BigFloat i = startInclusive; i.isLessThanOrEqual(endInclusive); i = i.add(step)) { //... }
startInclusive
- the (inclusive) initial valueendInclusive
- the inclusive upper boundstep
- the step between elementsStream<BigFloat>
public static java.util.stream.Stream<BigFloat> rangeClosed(long startInclusive, long endInclusive, long step, BigFloat.Context context)
Stream<BigFloat>
from startInclusive
(inclusive) to endInclusive
(inclusive) by an incremental step
.
BigFloat.Context.valueOf(long)
is used to convert the long
values.
startInclusive
- the (inclusive) initial valueendInclusive
- the inclusive upper boundstep
- the step between elementscontext
- the BigFloat.Context
used to convert the long
valuesStream<BigFloat>
rangeClosed(BigFloat, BigFloat, BigFloat)
public static java.util.stream.Stream<BigFloat> rangeClosed(double startInclusive, double endInclusive, double step, BigFloat.Context context)
Stream<BigFloat>
from startInclusive
(inclusive) to endInclusive
(inclusive) by an incremental step
.
BigFloat.Context.valueOf(double)
is used to convert the double
values.
startInclusive
- the (inclusive) initial valueendInclusive
- the inclusive upper boundstep
- the step between elementscontext
- the BigFloat.Context
used to convert the double
valuesStream<BigFloat>
rangeClosed(BigFloat, BigFloat, BigFloat)