@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 java.util.function.IntToLongFunction |
sneaky(CheckedIntToLongFunction function) |
|
static java.util.function.IntToLongFunction |
unchecked(CheckedIntToLongFunction function) |
|
static java.util.function.IntToLongFunction |
unchecked(CheckedIntToLongFunction function,
java.util.function.Consumer<java.lang.Throwable> handler) |
long applyAsLong(int value) throws java.lang.Throwable
value
- the function argumentjava.lang.Throwable
static java.util.function.IntToLongFunction sneaky(CheckedIntToLongFunction function)
static java.util.function.IntToLongFunction unchecked(CheckedIntToLongFunction function)
static java.util.function.IntToLongFunction unchecked(CheckedIntToLongFunction function, java.util.function.Consumer<java.lang.Throwable> handler)
Copyright © 2018. All rights reserved.