| Package | Description |
|---|---|
| com.annimon.stream | |
| com.annimon.stream.function | |
| com.annimon.stream.operator |
| Modifier and Type | Method and Description |
|---|---|
DoubleStream |
DoubleStream.flatMap(DoubleFunction<? extends DoubleStream> mapper)
Returns a stream consisting of the results of replacing each element of
this stream with the contents of a mapped stream produced by applying
the provided mapping function to each element.
|
<R> Stream<R> |
DoubleStream.mapToObj(DoubleFunction<? extends R> mapper)
Returns a
Stream consisting of the results of applying the given
function to the elements of this stream. |
<U> Optional<U> |
OptionalDouble.mapToObj(DoubleFunction<U> mapper)
Invokes the given mapping function on inner value if present.
|
| Modifier and Type | Method and Description |
|---|---|
static <R> DoubleFunction<R> |
DoubleFunction.Util.safe(ThrowableDoubleFunction<? extends R,Throwable> throwableFunction)
Creates a safe
DoubleFunction, |
static <R> DoubleFunction<R> |
DoubleFunction.Util.safe(ThrowableDoubleFunction<? extends R,Throwable> throwableFunction,
R resultIfFailed)
Creates a safe
DoubleFunction, |
| Constructor and Description |
|---|
DoubleFlatMap(PrimitiveIterator.OfDouble iterator,
DoubleFunction<? extends DoubleStream> mapper) |
DoubleMapToObj(PrimitiveIterator.OfDouble iterator,
DoubleFunction<? extends R> mapper) |
Copyright © 2017. All rights reserved.