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