Interface CheckedToLongFunction<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
ToLongFunction that allows for checked exceptions.-
Method Summary
Modifier and TypeMethodDescriptionlongapplyAsLong(T value) Applies this function to the given argument.static <T> ToLongFunction<T> sneaky(CheckedToLongFunction<T> function) static <T> ToLongFunction<T> unchecked(CheckedToLongFunction<T> function) static <T> ToLongFunction<T> unchecked(CheckedToLongFunction<T> function, Consumer<Throwable> handler)
-
Method Details
-
applyAsLong
-
sneaky
-
unchecked
-
unchecked
static <T> ToLongFunction<T> unchecked(CheckedToLongFunction<T> function, Consumer<Throwable> handler)
-