Interface CheckedBiConsumer<T,U,E extends Exception>

Type Parameters:
T -
U -
E -
All Superinterfaces:
BiConsumer<T,U>
All Known Subinterfaces:
CheckedEolBiConsumer<T,U>
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,U,E extends Exception> extends BiConsumer<T,U>
Since:
1.6
Author:
Sina Madani
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    accept(T t, U u)
     
    void
    acceptThrows(T t, U u)
     

    Methods inherited from interface java.util.function.BiConsumer

    andThen
  • Method Details

    • accept

      default void accept(T t, U u)
      Specified by:
      accept in interface BiConsumer<T,U>
    • acceptThrows

      void acceptThrows(T t, U u) throws E
      Throws:
      E extends Exception