Module io.smallrye.common.function
Package io.smallrye.common.function
Interface ExceptionBinaryOperator<T,E extends Exception>
- Type Parameters:
T- the argument typeE- the exception type
- All Superinterfaces:
ExceptionBiFunction<T,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 ExceptionBinaryOperator<T,E extends Exception>
extends ExceptionBiFunction<T,T,T,E>
A binary operator which can throw an exception.
-
Method Summary
Modifier and TypeMethodDescriptiondefault 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.Methods inherited from interface io.smallrye.common.function.ExceptionBiFunction
andThen, andThen, apply, compose
-
Method Details
-
andThen
Returns a binary operator which passes the result of this operator through the given unary operator.- Parameters:
after- the post-processing operator (must not benull)- Returns:
- a binary operator which passes the result of this operator through the given unary operator
-