Interface CheckedBiConsumer<T,​U,​E extends java.lang.Exception>

  • Type Parameters:
    T -
    U -
    E -
    All Superinterfaces:
    java.util.function.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 java.lang.Exception>
    extends java.util.function.BiConsumer<T,​U>
    Since:
    1.6
    Author:
    Sina Madani
    • Method Detail

      • accept

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

        void acceptThrows​(T t,
                          U u)
                   throws E extends java.lang.Exception
        Throws:
        E extends java.lang.Exception