Package com.hazelcast.function
Interface ToIntFunctionEx<T>
- Type Parameters:
T- the type of the input to the function
- All Superinterfaces:
Serializable,ToIntFunction<T>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Serializable variant of java.util.function.ToIntFunction which declares checked exception.- Since:
- 4.0
-
Method Summary
Modifier and TypeMethodDescriptiondefault intapplyAsInt(T value) intapplyAsIntEx(T value) Exception-declaring version ofToIntFunction.applyAsInt(T).
-
Method Details
-
applyAsIntEx
Exception-declaring version ofToIntFunction.applyAsInt(T).- Throws:
Exception- in case of any exceptional case
-
applyAsInt
- Specified by:
applyAsIntin interfaceToIntFunction<T>
-