Interface FunctionWithInt<S,V>
- Type Parameters:
S
- first parameter-typeV
- return-type
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Like
Function
but also accepts an int
parameter.- Author:
- Owen Feehan
-
Method Summary
-
Method Details
-
apply
Calls the function.- Parameters:
first
- first parameter.second
- second parameter which isint
.- Returns:
- the return-value from the function.
-