Interface CheckedBiConsumer<T,T2>

Type Parameters:
T - Ist type of input
T2 - IInd type of input
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<T,T2>
CheckedBiConsumer is an interface to model accepting two parameters but may throw
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(T t, T2 t2)
    A bi consumer accept method that can throw Throwable
  • Method Details

    • accept

      void accept(T t, T2 t2) throws Throwable
      A bi consumer accept method that can throw Throwable
      Parameters:
      t - Ist type input
      t2 - IInd type input
      Throws:
      Throwable - can be thrown