- Type Parameters:
T - the result type and maybe type parameter
- All Implemented Interfaces:
- Delegate<T,Maybe<T>>
public class DropMaybe<T>
extends Object
implements Delegate<T,Maybe<T>>
Unwraps a Maybe transforming a nothing(T) to null, just(T) to T.
Note this is not the unwrapping delegate you usually want, look at FromJust.
Adjoint of LiftMaybe.
- Author:
- rferranti