Interface CheckedToIntFunction<T>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A
ToIntFunction that allows for checked exceptions.-
Method Summary
Modifier and TypeMethodDescriptionintapplyAsInt(T value) Applies this function to the given argument.static <T> ToIntFunction<T> sneaky(CheckedToIntFunction<T> function) static <T> ToIntFunction<T> unchecked(CheckedToIntFunction<T> function) static <T> ToIntFunction<T> unchecked(CheckedToIntFunction<T> function, Consumer<Throwable> handler)
-
Method Details
-
applyAsInt
-
sneaky
-
unchecked
-
unchecked
static <T> ToIntFunction<T> unchecked(CheckedToIntFunction<T> function, Consumer<Throwable> handler)
-