T
- the first argument typeR
- the result type@FunctionalInterface public interface Func1<T,R> extends FiniteArgumentFunction<R>
Modifier and Type | Method and Description |
---|---|
R |
apply(T t) |
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>