-
Method Summary
boolean
boolean
<R> R
<R> R
-
Method Details
-
left
public static <A,
B> Either<A,B> left(A a)
-
right
public static <A,
B> Either<A,B> right(B b)
-
isLeft
public boolean isLeft()
-
isRight
public boolean isRight()
-
-
-
map
public <R> R map(Function<? super B,? extends R> mapper)
-
mapLeft
public <R> R mapLeft(Function<? super A,? extends R> mapper)
-
-
-