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

public Interface CheckedLongFunction<R>

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

A LongFunction that allows for checked exceptions.
Author
Lukas Eder

Method Summary

Modifier and TypeMethod and Description
public R

Returns:

the function result
apply
(long
the function argument
value
)

Applies this function to the given argument.

public static <R> LongFunction<R>
public static <R> LongFunction<R>
public static <R> LongFunction<R>

Method Detail

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

Applies this function to the given argument.

Parameters
value:long

the function argument

Returns:R

the function result

sneakyback to summary
public static <R> LongFunction<R> sneaky(CheckedLongFunction<R> function)
See Also
Sneaky#longFunction(CheckedLongFunction)
uncheckedback to summary
public static <R> LongFunction<R> unchecked(CheckedLongFunction<R> function)
See Also
Unchecked#longFunction(CheckedLongFunction)
uncheckedback to summary
public static <R> LongFunction<R> unchecked(CheckedLongFunction<R> function, Consumer<Throwable> handler)
See Also
Unchecked#longFunction(CheckedLongFunction, Consumer)