T - the result typepublic class MaybeOrElse<T> extends Object implements BinaryDelegate<T,Maybe<T>,T>
| Constructor and Description |
|---|
MaybeOrElse() |
| Modifier and Type | Method and Description |
|---|---|
T |
perform(Maybe<T> maybe,
T otherwise)
Executes the delegate for the given elements yielding a result of type R
|
public T perform(Maybe<T> maybe, T otherwise)
BinaryDelegateCopyright © 2016. All rights reserved.