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