- Type Parameters:
LT - the left type parameterRT - the right type parameter
- All Implemented Interfaces:
- Delegate<Maybe<RT>,Either<LT,RT>>
public class EitherToMaybe<LT,RT>
extends Object
implements Delegate<Maybe<RT>,Either<LT,RT>>
Transforms an either to a maybe containing just() right type or nothing().
- Author:
- rferranti