Package org.derive4j.processor
Class Either<A,B>
- java.lang.Object
-
- org.derive4j.processor.Either<A,B>
-
- Direct Known Subclasses:
Eithers.Lazy
,Eithers.Left
,Eithers.Right
@Data abstract class Either<A,B> extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Either()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description (package private) abstract <X> X
fold(java.util.function.Function<A,X> left, java.util.function.Function<B,X> right)
-