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