T1
- the first argument typeT2
- the second argument typeR
- the result type@FunctionalInterface public interface Func2<T1,T2,R> extends FiniteArgumentFunction<R>
Modifier and Type | Method and Description |
---|---|
R |
apply(T1 t1,
T2 t2) |
default int |
numberOfArgs()
The number of arguments that the function accepts
|
default FuncN<R> |
toFuncN()
Transform this function to a
FuncN , binding the arguments automatically. |
default FuncN<R> toFuncN()
FiniteArgumentFunction
FuncN
, binding the arguments automatically.toFuncN
in interface FiniteArgumentFunction<R>
FuncN
representation of this functiondefault int numberOfArgs()
FiniteArgumentFunction
numberOfArgs
in interface FiniteArgumentFunction<R>