@FunctionalInterface public interface Function2<T1,T2 extends BiFunction,R> <T1 ,T2 ,R>
| Modifier and Type | Method and Description |
|---|---|
R |
apply(T1 v1, T2 v2)
Apply this function to the arguments.
|
default R |
apply(Tuple2
Apply this function to the arguments.
|
default Function1 |
curry(T1 v1)
Partially apply this function to the arguments.
|
default Function0 |
curry(T1 v1, T2 v2)
Partially apply this function to the arguments.
|
default Function1 |
curry(Tuple1
Partially apply this function to the arguments.
|
default Function0 |
curry(Tuple2
Partially apply this function to the arguments.
|
static <T1 |
from(BiFunction
Convert to this function to a
BiFunction
|
default BiFunction |
toBiFunction()
Convert this function to a
BiFunction
|
andThendefault R apply(Tuple2<? extends T1 ,? extends T2> args)
args - The arguments as a tuple.
default BiFunction<T1 ,T2 ,R> toBiFunction()
BiFunction
static <T1,T2 ,R> Function2 <T1 ,T2 ,R> from(BiFunction <? super T1 ,? super T2 ,? extends R> function)
BiFunction
default Function1<T2 ,R> curry(Tuple1 <? extends T1> args)