default <V> Function2<T1,T2,V> |
Function2.andThen(java.util.function.Function<? super R,? extends V> after) |
Returns a composed function that first applies this Function2 to the given argument and then applies
Function after to the result.
|
default Function2<T2,T3,R> |
Function3.apply(T1 t1) |
Applies this function partially to one argument.
|
default Function2<T3,T4,R> |
Function4.apply(T1 t1,
T2 t2) |
Applies this function partially to two arguments.
|
default Function2<T4,T5,R> |
Function5.apply(T1 t1,
T2 t2,
T3 t3) |
Applies this function partially to three arguments.
|
default Function2<T5,T6,R> |
Function6.apply(T1 t1,
T2 t2,
T3 t3,
T4 t4) |
Applies this function partially to 4 arguments.
|
default Function2<T6,T7,R> |
Function7.apply(T1 t1,
T2 t2,
T3 t3,
T4 t4,
T5 t5) |
Applies this function partially to 5 arguments.
|
default Function2<T7,T8,R> |
Function8.apply(T1 t1,
T2 t2,
T3 t3,
T4 t4,
T5 t5,
T6 t6) |
Applies this function partially to 6 arguments.
|
static <T1,T2,R> Function2<T1,T2,R> |
Function2.constant(R value) |
Returns a function that always returns the constant
value that you give in parameter.
|
static <T1,T2,R> Function2<T1,T2,R> |
API.Function(Function2<T1,T2,R> methodReference) |
|
static <T1,T2,R> Function2<T1,T2,Option<R>> |
CheckedFunction2.lift(CheckedFunction2<? super T1,? super T2,? extends R> partialFunction) |
Lifts the given partialFunction into a total function that returns an Option result.
|
static <T1,T2,R> Function2<T1,T2,Option<R>> |
Function2.lift(java.util.function.BiFunction<? super T1,? super T2,? extends R> partialFunction) |
Lifts the given partialFunction into a total function that returns an Option result.
|
static <T1,T2,R> Function2<T1,T2,Try<R>> |
CheckedFunction2.liftTry(CheckedFunction2<? super T1,? super T2,? extends R> partialFunction) |
Lifts the given partialFunction into a total function that returns an Try result.
|
static <T1,T2,R> Function2<T1,T2,Try<R>> |
Function2.liftTry(java.util.function.BiFunction<? super T1,? super T2,? extends R> partialFunction) |
Lifts the given partialFunction into a total function that returns an Try result.
|
default Function2<T1,T2,R> |
Function2.memoized() |
Returns a memoizing version of this function, which computes the return value for given arguments only one time.
|
static <T1,T2,R> Function2<T1,T2,R> |
Function2.narrow(Function2<? super T1,? super T2,? extends R> f) |
Narrows the given Function2<? super T1, ? super T2, ? extends R> to Function2<T1, T2, R>
|
static <T1,T2,R> Function2<T1,T2,R> |
Function2.of(Function2<T1,T2,R> methodReference) |
|
default Function2<T1,T2,R> |
CheckedFunction2.recover(java.util.function.Function<? super java.lang.Throwable,? extends java.util.function.BiFunction<? super T1,? super T2,? extends R>> recover) |
Return a composed function that first applies this CheckedFunction2 to the given arguments and in case of throwable
try to get value from recover function with same arguments and throwable information.
|
default Function2<T2,T1,R> |
Function2.reversed() |
Returns a reversed version of this function.
|
static <T1,T2,R> Function2<T1,T2,R> |
API.unchecked(CheckedFunction2<T1,T2,R> f) |
|
default Function2<T1,T2,R> |
CheckedFunction2.unchecked() |
Returns an unchecked function that will sneaky throw if an exceptions occurs when applying the function.
|