| Package | Description |
|---|---|
| net.emaze.dysfunctional | |
| net.emaze.dysfunctional.options |
| Modifier and Type | Method and Description |
|---|---|
static <T> Maybe<T> |
Options.Maybes.toMaybe(Optional<T> optional)
Convert an Optional to a Maybe.
|
| Modifier and Type | Method and Description |
|---|---|
static <E> Maybe<E> |
Maybe.just(E element) |
<T> Maybe<T> |
Maybe.map(Function<E,T> function) |
static <E> Maybe<E> |
Maybe.nothing() |
Maybe<E> |
Maybe.orElse(Maybe<E> otherwise) |
| Modifier and Type | Method and Description |
|---|---|
Maybe<E> |
Maybe.orElse(Maybe<E> otherwise) |
Copyright © 2017. All rights reserved.