T - The type of the first argument to the function.U - The type of the second argument to the function.@FunctionalInterface public interface ToDoubleSQLBiFunction<T,U>
SQLException throwing equivalent of ToDoubleBiFunction.| Modifier and Type | Method and Description |
|---|---|
double |
applyAsDouble(T t,
U u)
Applies this function to the given arguments.
|
static <T,U> ToDoubleSQLBiFunction<T,U> |
checked(ToDoubleBiFunction<? super T,? super U> function)
Returns a function that applies the
function function to its input, and unwraps any UncheckedSQLException that is thrown by
throwing its cause. |
static <T,U> ToDoubleBiFunction<T,U> |
unchecked(ToDoubleSQLBiFunction<? super T,? super U> function)
Returns a function that applies the
function function to its input, and wraps any SQLException that is thrown in an
UncheckedSQLException. |
double applyAsDouble(T t, U u) throws SQLException
t - The first function argument.u - The second function argument.SQLException - If an SQL error occurs.static <T,U> ToDoubleBiFunction<T,U> unchecked(ToDoubleSQLBiFunction<? super T,? super U> function)
function function to its input, and wraps any SQLException that is thrown in an
UncheckedSQLException.T - The type of the first argument to the function.U - The type of the second argument to the function.function - The function to apply when the returned function is applied.function function to its input, and wraps any SQLException that is thrown in an
UncheckedSQLException.NullPointerException - If function is null.static <T,U> ToDoubleSQLBiFunction<T,U> checked(ToDoubleBiFunction<? super T,? super U> function)
function function to its input, and unwraps any UncheckedSQLException that is thrown by
throwing its cause.T - The type of the first argument to the function.U - The type of the second argument to the function.function - The function to apply when the returned function is applied.function function to its input, and unwraps any UncheckedSQLException that is thrown.NullPointerException - If function is null.Copyright © 2017. All rights reserved.