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

public Interface CheckedIntToDoubleFunction

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

A IntToDoubleFunction that allows for checked exceptions.
Author
Lukas Eder

Method Summary

Modifier and TypeMethod and Description
public double

Returns:

the function result
applyAsDouble
(int
the function argument
value
)

Applies this function to the given argument.

public static IntToDoubleFunction
public static IntToDoubleFunction
public static IntToDoubleFunction

Method Detail

applyAsDoubleback to summary
public double applyAsDouble(int value) throws Throwable

Applies this function to the given argument.

Parameters
value:int

the function argument

Returns:double

the function result

sneakyback to summary
public static IntToDoubleFunction sneaky(CheckedIntToDoubleFunction function)
See Also
Sneaky#intToDoubleFunction(CheckedIntToDoubleFunction)
uncheckedback to summary
public static IntToDoubleFunction unchecked(CheckedIntToDoubleFunction function)
See Also
Unchecked#intToDoubleFunction(CheckedIntToDoubleFunction)
uncheckedback to summary
public static IntToDoubleFunction unchecked(CheckedIntToDoubleFunction function, Consumer<Throwable> handler)
See Also
Unchecked#intToDoubleFunction(CheckedIntToDoubleFunction, Consumer)