Package org.wildfly.common.function
Interface ExceptionUnaryOperator<T,E extends java.lang.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 java.lang.Exception> extends ExceptionFunction<T,T,E>
A unary operator which can throw an exception.- Author:
- David M. Lloyd
-
-
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 java.lang.Exception>
ExceptionUnaryOperator<T,E>identity()
static <T,E extends java.lang.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 java.lang.Exception> ExceptionUnaryOperator<T,E> of(ExceptionFunction<T,T,E> func)
-
identity
static <T,E extends java.lang.Exception> ExceptionUnaryOperator<T,E> identity()
-
-