<R1,R2> Either<R1,R2> |
Either.map(BiFunction<? super T1,? super T2,Either<R1,R2>> mappingFunction) |
Maps the elements of this Either using the mapping function
|
<R1,R2> Either<R1,R2> |
Either.map(Function<? super T1,? super R1> mappingFunction1,
Function<? super T2,? super R2> mappingFunction2) |
Maps the elements of this Either using two distinct mapping functions
|
<R1> Either<R1,T2> |
Either.map1(Function<? super T1,? super R1> mappingFunction1) |
Map the first element of this Either using the mapping function
|
<R2> Either<T1,R2> |
Either.map2(Function<? super T2,? super R2> mappingFunction2) |
Map the second element of this Either using the mapping function
|
static <T1,T2> Either<T1,T2> |
Either.of_1(T1 t1) |
Construct a new Tuple with _1() element having a value
|
static <T1,T2> Either<T1,T2> |
Either.of_2(T2 t2) |
Construct a new Tuple with _2() element having a value
|
Either<T2,T1> |
Either.swap() |
Swap the elements of this Either
|