Top Description Methods
io.smallrye.common.function

public Interface ExceptionBinaryOperator<T, E extends Exception>

extends ExceptionBiFunction<T, T, T, E extends Exception>
Annotations
@FunctionalInterface
Type Parameters
<T>
the argument type
<E>
the exception type
Imports
io.smallrye.common.constraint.Assert

A binary operator which can throw an exception.

Method Summary

Modifier and TypeMethod and Description
public default ExceptionBinaryOperator<T, E>

Returns:

a binary operator which passes the result of this operator through the given unary operator
andThen
(ExceptionUnaryOperator<T, ? extends E>
the post-processing operator (must not be null)
after
)

Returns a binary operator which passes the result of this operator through the given unary operator.

Inherited from io.smallrye.common.function.ExceptionBiFunction:
andThenandThenapplycompose

Method Detail

andThenback to summary
public default ExceptionBinaryOperator<T, E> andThen(ExceptionUnaryOperator<T, ? extends E> after)

Returns a binary operator which passes the result of this operator through the given unary operator.

Parameters
after:ExceptionUnaryOperator<T, ? extends E>

the post-processing operator (must not be null)

Returns:ExceptionBinaryOperator<T, E>

a binary operator which passes the result of this operator through the given unary operator