Package org.forgerock.opendj.ldap
Interface Functions.ToIntFunction<T,E extends Exception>
- Type Parameters:
T
- The type of the argumentE
- The type of exception thrown
- Enclosing class:
Functions
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A
ToIntFunction
functional interface which can throw a checked Exception.-
Method Summary
Modifier and TypeMethodDescriptionint
applyAsInt
(T value) Applies this function to the given argument.
-
Method Details
-
applyAsInt
Applies this function to the given argument.- Parameters:
value
- the function argument- Returns:
- the function result
- Throws:
E
- may throw an exception
-