Top Description Methods
org.wildfly.common.function

public Interface ExceptionUnaryOperator<T, E extends java.lang.Exception>

extends ExceptionFunction<T, T, E extends Exception>
Annotations
@FunctionalInterface
Imports
org.wildfly.common.Assert

A unary operator which can throw an exception.
Author
David M. Lloyd

Method Summary

Modifier and TypeMethod and Description
public default ExceptionUnaryOperator<T, E>
andThen(ExceptionUnaryOperator<T, ? extends E> after)

public default ExceptionUnaryOperator<T, E>
compose(ExceptionUnaryOperator<T, ? extends E> before)

public static <T, E extends Exception> ExceptionUnaryOperator<T, E>
public static <T, E extends Exception> ExceptionUnaryOperator<T, E>
of(ExceptionFunction<T, T, E> func)

Inherited from org.wildfly.common.function.ExceptionFunction:
andThenandThenandThenandThenandThenandThenapplycomposecompose

Method Detail

andThenback to summary
public default ExceptionUnaryOperator<T, E> andThen(ExceptionUnaryOperator<T, ? extends E> after)
composeback to summary
public default ExceptionUnaryOperator<T, E> compose(ExceptionUnaryOperator<T, ? extends E> before)
identityback to summary
public static <T, E extends Exception> ExceptionUnaryOperator<T, E> identity()
ofback to summary
public static <T, E extends Exception> ExceptionUnaryOperator<T, E> of(ExceptionFunction<T, T, E> func)