All Methods Static Methods Instance Methods Abstract Methods Concrete Methods
| Modifier and Type |
Method and Description |
abstract <X> Either<L,X> |
flatMap(java.util.function.Function<R,Either<L,X>> f) |
abstract <X> X |
fold(java.util.function.Function<L,X> f,
java.util.function.Function<R,X> g) |
static <L,R> Either<L,R> |
left(L l) |
abstract <X> Either<X,R> |
leftMap(java.util.function.Function<L,X> f) |
abstract <X> Either<L,X> |
map(java.util.function.Function<R,X> f) |
static <X> X |
merge(Either<? extends X,? extends X> e) |
static <L,R> Either<L,R> |
right(R r) |
abstract Either<R,L> |
swap() |
abstract R |
valueOr(java.util.function.Function<L,R> f) |