T - The type of the object argument to the operation.@FunctionalInterface public interface ObjDoubleSQLConsumer<T>
double-valued argument, and returns no result.
This is the SQLException throwing equivalent of ObjDoubleConsumer.| Modifier and Type | Method and Description |
|---|---|
void |
accept(T t,
double value)
Performs this operation on the given arguments.
|
static <T> ObjDoubleSQLConsumer<T> |
checked(ObjDoubleConsumer<? super T> operation)
Returns an
ObjDoubleSQLConsumer that performs the operation operation, and unwraps any UncheckedSQLException that is
thrown by throwing its cause. |
static <T> ObjDoubleConsumer<T> |
unchecked(ObjDoubleSQLConsumer<? super T> operation)
Returns an
ObjDoubleConsumer that performs the operation operation, and wraps any SQLException that is thrown in an
UncheckedSQLException. |
void accept(T t, double value) throws SQLException
t - The first input argument.value - The second input argument.SQLException - If an SQL error occurs.static <T> ObjDoubleConsumer<T> unchecked(ObjDoubleSQLConsumer<? super T> operation)
ObjDoubleConsumer that performs the operation operation, and wraps any SQLException that is thrown in an
UncheckedSQLException.T - The type of the object argument to the operation.operation - The operation to perform when the returned operation is performed.ObjDoubleConsumer that performs the operation operation on its input, and wraps any SQLException that is
thrown in an UncheckedSQLException.NullPointerException - If operation is null.static <T> ObjDoubleSQLConsumer<T> checked(ObjDoubleConsumer<? super T> operation)
ObjDoubleSQLConsumer that performs the operation operation, and unwraps any UncheckedSQLException that is
thrown by throwing its cause.T - The type of the input to the operation.operation - The operation to perform when the returned operation is performed.ObjDoubleSQLConsumer that performs the operation operation on its input, and unwraps any
UncheckedSQLException that is thrown.NullPointerException - If the given operation is null.Copyright © 2017. All rights reserved.