All Methods Instance Methods Concrete Methods
Modifier and Type |
Method and Description |
void |
consume(java.util.function.Consumer<? super L> consumerLeft,
java.util.function.Consumer<? super R> consumerRight) |
boolean |
equals(java.lang.Object obj) |
boolean |
exists(java.util.function.Predicate<R> p) |
<T> Xor<? super L,T> |
flatMap(java.util.function.Function<? super R,Xor<? super L,T>> mapper) |
<T> T |
fold(java.util.function.Function<? super L,? extends T> mapLeft,
java.util.function.Function<? super R,? extends T> mapRight) |
R |
getOrElse(java.util.function.Supplier<? extends R> supplier) |
int |
hashCode() |
boolean |
isLeft() |
boolean |
isRight() |
java.util.Optional<L> |
left() |
<T> Xor<T,R> |
leftMap(java.util.function.Function<? super L,Xor<T,R>> mapper) |
<T> Xor<L,T> |
map(java.util.function.Function<? super R,? extends T> mapper) |
R |
orElse(R value) |
java.util.Optional<R> |
right() |
java.lang.String |
toString() |