Module life.expert

Interface CheckedConsumer4<T1,​T2,​T3,​T4>

  • Type Parameters:
    T1 - the type parameter
    T2 - the type parameter
    T3 - the type parameter
    T4 - the type parameter
    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 CheckedConsumer4<T1,​T2,​T3,​T4>
    in order to be able to put the code that calls checked exceptions in lambda
    • Method Summary

      Modifier and Type Method Description
      void accept​(T1 t1, T2 t2, T3 t3, T4 t4)
      Accept.
    • Method Detail

      • accept

        void accept​(T1 t1,
                    T2 t2,
                    T3 t3,
                    T4 t4)
             throws java.lang.Throwable
        Accept.
        Parameters:
        t1 - the t 1
        t2 - the t 2
        t3 - the t 3
        t4 - the t 4
        Throws:
        java.lang.Throwable - the throwable