Interface CheckedBiConsumer<A,B,E extends Throwable>

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 CheckedBiConsumer<A,B,E extends Throwable>
A binary consumer that can throw checked exceptions.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(A a, B b)
     
    default <R> CheckedBiConsumer<A,B,E>
    andThen(CheckedBiConsumer<? super A,? super B,? extends E> that)
    Returns a new CheckedBiConsumer that also passes the inputs to that.
  • Method Details

    • accept

      void accept(A a, B b) throws E
      Throws:
      E
    • andThen

      default <R> CheckedBiConsumer<A,B,E> andThen(CheckedBiConsumer<? super A,? super B,? extends E> that)
      Returns a new CheckedBiConsumer that also passes the inputs to that.