@FunctionalInterface
public interface CheckedLongToIntFunction
LongToIntFunction
that allows for checked exceptions.Modifier and Type | Method | Description |
---|---|---|
int |
applyAsInt(long value) |
Applies this function to the given argument.
|
static java.util.function.LongToIntFunction |
sneaky(CheckedLongToIntFunction function) |
|
static java.util.function.LongToIntFunction |
unchecked(CheckedLongToIntFunction function) |
|
static java.util.function.LongToIntFunction |
unchecked(CheckedLongToIntFunction function,
java.util.function.Consumer<java.lang.Throwable> handler) |
int applyAsInt(long value) throws java.lang.Throwable
value
- the function argumentjava.lang.Throwable
static java.util.function.LongToIntFunction sneaky(CheckedLongToIntFunction function)
static java.util.function.LongToIntFunction unchecked(CheckedLongToIntFunction function)
static java.util.function.LongToIntFunction unchecked(CheckedLongToIntFunction function, java.util.function.Consumer<java.lang.Throwable> handler)
Copyright © 2018. All rights reserved.