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