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

public Interface CheckedDoubleToIntFunction

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

A DoubleToIntFunction that allows for checked exceptions.
Author
Lukas Eder

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

the function result
applyAsInt
(double
the function argument
value
)

Applies this function to the given argument.

public static DoubleToIntFunction
public static DoubleToIntFunction
public static DoubleToIntFunction

Method Detail

applyAsIntback to summary
public int applyAsInt(double value) throws Throwable

Applies this function to the given argument.

Parameters
value:double

the function argument

Returns:int

the function result

sneakyback to summary
public static DoubleToIntFunction sneaky(CheckedDoubleToIntFunction function)
See Also
Sneaky#doubleToIntFunction(CheckedDoubleToIntFunction)
uncheckedback to summary
public static DoubleToIntFunction unchecked(CheckedDoubleToIntFunction function)
See Also
Unchecked#doubleToIntFunction(CheckedDoubleToIntFunction)
uncheckedback to summary
public static DoubleToIntFunction unchecked(CheckedDoubleToIntFunction function, Consumer<Throwable> handler)
See Also
Unchecked#doubleToIntFunction(CheckedDoubleToIntFunction, Consumer)