Package com.hazelcast.function
Interface ToLongFunctionEx<T>
- Type Parameters:
T- the type of the input to the function
- All Superinterfaces:
Serializable,ToLongFunction<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.ToLongFunction which declares checked exception.- Since:
- 4.0
-
Method Summary
Modifier and TypeMethodDescriptiondefault longapplyAsLong(T value) longapplyAsLongEx(T value) Exception-declaring version ofToLongFunction.applyAsLong(T).
-
Method Details
-
applyAsLongEx
Exception-declaring version ofToLongFunction.applyAsLong(T).- Throws:
Exception- in case of any exceptional case
-
applyAsLong
- Specified by:
applyAsLongin interfaceToLongFunction<T>
-