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