| Package | Description |
|---|---|
| com.annimon.stream | |
| com.annimon.stream.function |
| Modifier and Type | Method and Description |
|---|---|
OptionalDouble |
OptionalDouble.executeIfPresent(DoubleConsumer consumer)
Invokes consumer function with the value if present.
|
void |
DoubleStream.forEach(DoubleConsumer action)
Performs an action for each element of this stream.
|
void |
OptionalDouble.ifPresent(DoubleConsumer consumer)
Invokes consumer function with value if present, otherwise does nothing.
|
void |
OptionalDouble.ifPresentOrElse(DoubleConsumer consumer,
Runnable emptyAction)
If a value is present, performs the given action with the value,
otherwise performs the empty-based action.
|
DoubleStream |
DoubleStream.peek(DoubleConsumer action)
Performs provided action on each element.
|
| Modifier and Type | Method and Description |
|---|---|
static DoubleConsumer |
DoubleConsumer.Util.andThen(DoubleConsumer c1,
DoubleConsumer c2)
Composes
DoubleConsumer calls. |
| Modifier and Type | Method and Description |
|---|---|
static DoubleConsumer |
DoubleConsumer.Util.andThen(DoubleConsumer c1,
DoubleConsumer c2)
Composes
DoubleConsumer calls. |
Copyright © 2017. All rights reserved.