Package org.derive4j.processor
Class Eithers
java.lang.Object
org.derive4j.processor.Eithers
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
private static final class
private static final class
private static final class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <A,
B> Eithers.CaseOfMatchers.TotalMatcher_Left <A, B> static <A,
B> Eithers.CasesMatchers.TotalMatcher_Left <A, B> cases()
static <A,
B> Optional <A> static <A,
B> Optional <B> static <A,
B> Either <A, B> static <A,
B> Either <A, B> left
(A left) static <A,
B> Either <A, B> right
(B right) setLeft
(XA newLeft) setRight
(XB newRight)
-
Constructor Details
-
Eithers
private Eithers()
-
-
Method Details
-
left
-
right
-
lazy
-
cases
-
caseOf
-
getLeft
-
getRight
-
setLeft
-
modLeft
-
setRight
-
modRight
-