Package io.smallrye.common.function
Interface ExceptionUnaryOperator<T,E extends Exception>
-
- All Superinterfaces:
ExceptionFunction<T,T,E>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface ExceptionUnaryOperator<T,E extends Exception> extends ExceptionFunction<T,T,E>
A unary operator which can throw an exception.
-
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description default ExceptionUnaryOperator<T,E>andThen(ExceptionUnaryOperator<T,? extends E> after)default ExceptionUnaryOperator<T,E>compose(ExceptionUnaryOperator<T,? extends E> before)static <T,E extends Exception>
ExceptionUnaryOperator<T,E>identity()static <T,E extends Exception>
ExceptionUnaryOperator<T,E>of(ExceptionFunction<T,T,E> func)
-
-
-
Method Detail
-
andThen
default ExceptionUnaryOperator<T,E> andThen(ExceptionUnaryOperator<T,? extends E> after)
-
compose
default ExceptionUnaryOperator<T,E> compose(ExceptionUnaryOperator<T,? extends E> before)
-
of
static <T,E extends Exception> ExceptionUnaryOperator<T,E> of(ExceptionFunction<T,T,E> func)
-
identity
static <T,E extends Exception> ExceptionUnaryOperator<T,E> identity()
-
-