| Modifier and Type | Method and Description |
|---|---|
<T> Either<T,E> |
either(Provider<T> nothing) |
boolean |
equals(Object rhs) |
<T> Maybe<T> |
fmap(Delegate<T,E> delegate) |
<T> T |
fold(Provider<T> ifNothing,
Delegate<T,E> ifJust) |
int |
hashCode() |
boolean |
hasValue() |
Iterator<E> |
iterator() |
static <E> Maybe<E> |
just(E element) |
static <E> Maybe<E> |
nothing() |
E |
orElse(E otherwise) |
Maybe<E> |
orElse(Maybe<E> otherwise) |
String |
toString() |
E |
value() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitforEach, spliteratorCopyright © 2016. All rights reserved.