Package org.wildfly.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.
- Author:
- David M. Lloyd
-
Method Summary
Modifier and TypeMethodDescriptiondefault 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 Details
-
andThen
-
compose
-
of
-
identity
-