Module org.jooq.jool
Package org.jooq.lambda.fi.util.function
Interface CheckedToDoubleBiFunction<T,U>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A
ToDoubleBiFunction
that allows for checked exceptions.- Author:
- Lukas Eder
-
Method Summary
Modifier and TypeMethodDescriptiondouble
applyAsDouble
(T t, U u) Applies this function to the given arguments.static <T,
U> ToDoubleBiFunction<T, U> sneaky
(CheckedToDoubleBiFunction<T, U> function) static <T,
U> ToDoubleBiFunction<T, U> unchecked
(CheckedToDoubleBiFunction<T, U> function) static <T,
U> ToDoubleBiFunction<T, U> unchecked
(CheckedToDoubleBiFunction<T, U> function, Consumer<Throwable> handler)
-
Method Details
-
applyAsDouble
Applies this function to the given arguments.- Parameters:
t
- the first function argumentu
- the second function argument- Returns:
- the function result
- Throws:
Throwable
-
sneaky
-
unchecked
-
unchecked
static <T,U> ToDoubleBiFunction<T,U> unchecked(CheckedToDoubleBiFunction<T, U> function, Consumer<Throwable> handler)
-