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

public Interface CheckedDoubleFunction<R>

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

A DoubleFunction that allows for checked exceptions.
Author
Lukas Eder

Method Summary

Modifier and TypeMethod and Description
public R

Returns:

the function result
apply
(double
the function argument
value
)

Applies this function to the given argument.

public static <R> DoubleFunction<R>
public static <R> DoubleFunction<R>
public static <R> DoubleFunction<R>

Method Detail

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

Applies this function to the given argument.

Parameters
value:double

the function argument

Returns:R

the function result

sneakyback to summary
public static <R> DoubleFunction<R> sneaky(CheckedDoubleFunction<R> function)
See Also
Sneaky#doubleFunction(CheckedDoubleFunction)
uncheckedback to summary
public static <R> DoubleFunction<R> unchecked(CheckedDoubleFunction<R> function)
See Also
Unchecked#doubleFunction(CheckedDoubleFunction)
uncheckedback to summary
public static <R> DoubleFunction<R> unchecked(CheckedDoubleFunction<R> function, Consumer<Throwable> handler)
See Also
Unchecked#doubleFunction(CheckedDoubleFunction, Consumer)