| Package | Description |
|---|---|
| io.helidon.common |
Common utilities for Helidon projects.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> OptionalHelper<T> |
OptionalHelper.from(Optional<T> optional)
Static factory method to create a new
OptionalHelper instance. |
OptionalHelper<T> |
OptionalHelper.or(Supplier<? extends Optional<T>> supplier)
If the underlying
Optional does not have a value, set it to the
Optional produced by the supplying function. |
Copyright © 2018, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.