@FunctionalInterface public interface CheckedLongToIntFunction
LongToIntFunction that allows for checked exceptions.| Modifier and Type | Method and Description |
|---|---|
int |
applyAsInt(long value)
Applies this function to the given argument.
|
static java.util.function.LongToIntFunction |
unchecked(CheckedLongToIntFunction function) |
static java.util.function.LongToIntFunction |
unchecked(CheckedLongToIntFunction function,
java.util.function.Consumer<Throwable> handler) |
int applyAsInt(long value)
throws Throwable
value - the function argumentThrowablestatic java.util.function.LongToIntFunction unchecked(CheckedLongToIntFunction function)
Unchecked#longToIntFunction(CheckedLongToIntFunction)}static java.util.function.LongToIntFunction unchecked(CheckedLongToIntFunction function, java.util.function.Consumer<Throwable> handler)
Unchecked#longToIntFunction(CheckedLongToIntFunction, Consumer)}Copyright © 2016. All Rights Reserved.