@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 LongToIntFunction |
sneaky(CheckedLongToIntFunction function) |
|
static LongToIntFunction |
unchecked(CheckedLongToIntFunction function) |
|
static LongToIntFunction |
unchecked(CheckedLongToIntFunction function,
Consumer<Throwable> handler) |
int applyAsInt(long value)
throws Throwable
value - the function argumentThrowablestatic LongToIntFunction sneaky(CheckedLongToIntFunction function)
static LongToIntFunction unchecked(CheckedLongToIntFunction function)
static LongToIntFunction unchecked(CheckedLongToIntFunction function, Consumer<Throwable> handler)
Copyright © 2018. All rights reserved.