T - the type of the input to the function@FunctionalInterface public interface ToLongFunctionEx<T> extends ToLongFunction<T>, Serializable
Serializable variant of java.util.function.ToLongFunction which declares checked exception.| Modifier and Type | Method and Description |
|---|---|
default long |
applyAsLong(T value) |
long |
applyAsLongEx(T value)
Exception-declaring version of
ToLongFunction.applyAsLong(T). |
long applyAsLongEx(T value) throws Exception
ToLongFunction.applyAsLong(T).Exception - in case of any exceptional casedefault long applyAsLong(T value)
applyAsLong in interface ToLongFunction<T>Copyright © 2022 Hazelcast, Inc.. All rights reserved.