Interface CheckedToIntFunction<S,E extends Exception>
- Type Parameters:
S
- argument-typeE
- exception-type that can be thrown duringapplyAsInt
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Like
ToIntFunction
but can also thrown an exception.- Author:
- Owen Feehan
-
Method Summary
-
Method Details
-
applyAsInt
Calls the function.- Parameters:
parameter
- parameter object.- Returns:
- return-value.
- Throws:
E
- an exception that may be thrown.
-