T
- supplied type@FunctionalInterface public interface SqlConsumer<T>
java.util.function.Consumer
that throws a
SQLException
if an error occurred while the supplier was getted.Modifier and Type | Method and Description |
---|---|
void |
accept(T t)
Performs this operation on the given argument.
|
static <T> SqlConsumer<T> |
wrap(Consumer<T> inner) |
void accept(T t) throws SQLException
t
- the input argument to consumeSQLException
- on errorstatic <T> SqlConsumer<T> wrap(Consumer<T> inner)
Copyright © 2018 Speedment, Inc.. All rights reserved.