| Package | Description |
|---|---|
| com.annimon.stream | |
| com.annimon.stream.function | |
| com.annimon.stream.operator |
| Modifier and Type | Method and Description |
|---|---|
static DoubleStream |
DoubleStream.generate(DoubleSupplier s)
Creates a
DoubleStream by elements that generated by DoubleSupplier. |
double |
OptionalDouble.orElseGet(DoubleSupplier other)
Returns the value if present, otherwise returns value produced by supplier function.
|
| Modifier and Type | Method and Description |
|---|---|
static DoubleSupplier |
DoubleSupplier.Util.safe(ThrowableDoubleSupplier<Throwable> throwableSupplier)
Creates a safe
DoubleSupplier. |
static DoubleSupplier |
DoubleSupplier.Util.safe(ThrowableDoubleSupplier<Throwable> throwableSupplier,
double resultIfFailed)
Creates a safe
DoubleSupplier. |
| Constructor and Description |
|---|
DoubleGenerate(DoubleSupplier supplier) |
Copyright © 2017. All rights reserved.