| Package | Description |
|---|---|
| com.annimon.stream | |
| com.annimon.stream.function |
| Modifier and Type | Method and Description |
|---|---|
OptionalBoolean |
OptionalBoolean.executeIfPresent(BooleanConsumer consumer)
Invokes consumer function with the value if present.
|
void |
OptionalBoolean.ifPresent(BooleanConsumer consumer)
Invokes consumer function with value if present, otherwise does nothing.
|
void |
OptionalBoolean.ifPresentOrElse(BooleanConsumer consumer,
Runnable emptyAction)
If a value is present, performs the given action with the value,
otherwise performs the empty-based action.
|
| Modifier and Type | Method and Description |
|---|---|
static BooleanConsumer |
BooleanConsumer.Util.andThen(BooleanConsumer c1,
BooleanConsumer c2)
Composes
BooleanConsumer calls. |
| Modifier and Type | Method and Description |
|---|---|
static BooleanConsumer |
BooleanConsumer.Util.andThen(BooleanConsumer c1,
BooleanConsumer c2)
Composes
BooleanConsumer calls. |
Copyright © 2017. All rights reserved.