Class Either3<A,B,C>
java.lang.Object
fj.data.Either3<A,B,C>
- Direct Known Subclasses:
Either3.Left, Either3.Middle, Either3.Right
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static final classEither3.Left<A,B, C> static final classprivate static final classstatic final classprivate static final classEither3.Right<A,B, C> static final class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract <D> Dfinal booleanfinal inthashCode()booleanisLeft()booleanisMiddle()booleanisRight()static <A,B, C> Either3 <A, B, C> static <A,B, C> Either3 <A, B, C> joinMiddle(Either3<A, Either3<A, B, C>, C> e) static <A,B, C> Either3 <A, B, C> final Either3.LeftProjection<A, B, C> left()static <A,B, C> Either3 <A, B, C> left(A a) left_()leftMap_()<X,Y, Z> Either3 <X, Y, Z> final Either3.MiddleProjection<A, B, C> middle()static <A,B, C> Either3 <A, B, C> middle(B b) moveLeft()final Either3.RightProjection<A, B, C> right()static <A,B, C> Either3 <A, B, C> right(C c) swap()
-
Constructor Details
-
Either3
private Either3()
-
-
Method Details
-
leftMap
-
leftMap_
-
middleMap
-
middleMap_
-
rightMap
-
rightMap_
-
left
-
left_
-
middle
-
right
-
isLeft
public boolean isLeft() -
isMiddle
public boolean isMiddle() -
isRight
public boolean isRight() -
map3
-
either
-
either_
-
joinLeft
-
joinMiddle
-
joinRight
-
moveLeft
-
moveRight
-
swap
-
swapLefts
-
swapRights
-
leftOption
-
middleOption
-
rightOption
-
left
-
middle
-
right
-
equals
-
hashCode
-