Package com.hazelcast.function
Interface ToLongFunctionEx<T>
-
- Type Parameters:
T
- the type of the input to the function
- All Superinterfaces:
java.io.Serializable
,java.util.function.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.
@FunctionalInterface public interface ToLongFunctionEx<T> extends java.util.function.ToLongFunction<T>, java.io.Serializable
Serializable
variant ofjava.util.function.ToLongFunction
which declares checked exception.- Since:
- 4.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default long
applyAsLong(T value)
long
applyAsLongEx(T value)
Exception-declaring version ofToLongFunction.applyAsLong(T)
.
-
-
-
Method Detail
-
applyAsLongEx
long applyAsLongEx(T value) throws java.lang.Exception
Exception-declaring version ofToLongFunction.applyAsLong(T)
.- Throws:
java.lang.Exception
- in case of any exceptional case
-
-