Interface ExceptionBinaryOperator<T,E extends Exception>

Type Parameters:
T - the argument type
E - 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 Details

    • andThen

      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 - the post-processing operator (must not be null)
      Returns:
      a binary operator which passes the result of this operator through the given unary operator