public class OptionalEx extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T> OptionalEx |
ifPresent(Optional<T> opt,
java.util.function.Consumer<? super T> consumer) |
void |
orElse(Runnable runner) |
public void orElse(Runnable runner)
public static <T> OptionalEx ifPresent(Optional<T> opt, java.util.function.Consumer<? super T> consumer)
Copyright © 2013–2017 FF4J. All rights reserved.