T - The type of the operand and result of the operator.@FunctionalInterface public interface UnarySQLOperator<T> extends SQLFunction<T,T>
SQLException throwing equivalent of UnaryOperator.| Modifier and Type | Method and Description |
|---|---|
static <T> UnarySQLOperator<T> |
checked(UnaryOperator<T> operator)
Returns a unary operator that applies the
operator operator to its input, and unwraps any UncheckedSQLException that is thrown
by throwing its cause. |
static <T> UnarySQLOperator<T> |
identity()
Returns a unary operator that always returns its input argument.
|
static <T> UnaryOperator<T> |
unchecked(UnarySQLOperator<T> operator)
Returns a unary operator that applies the
operator operator to its input, and wraps any SQLException that is thrown in an
UncheckedSQLException. |
static <T> UnarySQLOperator<T> identity()
identity in interface SQLFunction<T,T>T - The type of the input and output of the operator.static <T> UnaryOperator<T> unchecked(UnarySQLOperator<T> operator)
operator operator to its input, and wraps any SQLException that is thrown in an
UncheckedSQLException.T - The type of the input and output of the operator.operator - The unary operator to apply when the returned unary operator is applied.operator operator to its input, and wraps any SQLException that is thrown in an
UncheckedSQLException.NullPointerException - If operator is null.static <T> UnarySQLOperator<T> checked(UnaryOperator<T> operator)
operator operator to its input, and unwraps any UncheckedSQLException that is thrown
by throwing its cause.T - The type of the input and output of the operator.operator - The unary operator to apply when the returned unary operator is applied.operator operator to its input, and unwraps any UncheckedSQLException that is thrown.NullPointerException - If operator is null.Copyright © 2017. All rights reserved.