Top Description Methods
org.jooq.lambda.fi.util.function

public Interface CheckedIntFunction<R>

Annotations
@FunctionalInterface
Imports
java.util.function.Consumer, .IntFunction, org.jooq.lambda.Sneaky, .Unchecked

A IntFunction that allows for checked exceptions.
Author
Lukas Eder

Method Summary

Modifier and TypeMethod and Description
public R

Returns:

the function result
apply
(int
the function argument
value
)

Applies this function to the given argument.

public static <R> IntFunction<R>
public static <R> IntFunction<R>
public static <R> IntFunction<R>

Method Detail

applyback to summary
public R apply(int value) throws Throwable

Applies this function to the given argument.

Parameters
value:int

the function argument

Returns:R

the function result

sneakyback to summary
public static <R> IntFunction<R> sneaky(CheckedIntFunction<R> function)
See Also
Sneaky#intFunction(CheckedIntFunction)
uncheckedback to summary
public static <R> IntFunction<R> unchecked(CheckedIntFunction<R> function)
See Also
Unchecked#intFunction(CheckedIntFunction)
uncheckedback to summary
public static <R> IntFunction<R> unchecked(CheckedIntFunction<R> function, Consumer<Throwable> handler)
See Also
Unchecked#intFunction(CheckedIntFunction, Consumer)