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

public Interface CheckedDoubleToLongFunction

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

A DoubleToLongFunction that allows for checked exceptions.
Author
Lukas Eder

Method Summary

Modifier and TypeMethod and Description
public long

Returns:

the function result
applyAsLong
(double
the function argument
value
)

Applies this function to the given argument.

public static DoubleToLongFunction
public static DoubleToLongFunction
public static DoubleToLongFunction

Method Detail

applyAsLongback to summary
public long applyAsLong(double value) throws Throwable

Applies this function to the given argument.

Parameters
value:double

the function argument

Returns:long

the function result

sneakyback to summary
public static DoubleToLongFunction sneaky(CheckedDoubleToLongFunction function)
See Also
Sneaky#doubleToLongFunction(CheckedDoubleToLongFunction)
uncheckedback to summary
public static DoubleToLongFunction unchecked(CheckedDoubleToLongFunction function)
See Also
Unchecked#doubleToLongFunction(CheckedDoubleToLongFunction)
uncheckedback to summary
public static DoubleToLongFunction unchecked(CheckedDoubleToLongFunction function, Consumer<Throwable> handler)
See Also
Unchecked#doubleToLongFunction(CheckedDoubleToLongFunction, Consumer)