Class Left<L,R>
java.lang.Object
org.reactfx.util.Left<L,R>
- All Implemented Interfaces:
Either<L,R>
- Direct Known Subclasses:
Failure
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasLeft()asRight()final booleanvoid<L2,R2> Either <L2, R2> flatMapLeft(Function<? super L, Either<L2, R>> f) flatMapRight(Function<? super R, Either<L, R2>> f) getLeft()getRight()final inthashCode()voidvoidbooleanisLeft()booleanisRight()<L2,R2> Either <L2, R2> toString()<T> T
-
Field Details
-
value
-
-
Constructor Details
-
Left
-
-
Method Details
-
isLeft
-
isRight
-
getLeft
-
getRight
-
toLeft
-
toRight
-
asLeft
-
asRight
-
ifLeft
-
ifRight
-
exec
-
mapLeft
-
mapRight
-
map
-
flatMap
-
flatMapLeft
-
flatMapRight
-
unify
-
hashCode
-
equals
-
toString
-