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