Interface Consumer5<T1,​T2,​T3,​T4,​T5>

  • Type Parameters:
    T1 - the first value type
    T2 - the second value type
    T3 - the third value type
    T4 - the fourth value type
    T5 - the fifth value type

    public interface Consumer5<T1,​T2,​T3,​T4,​T5>
    Functional interface for a callback that consumes multipe values at the same and may throw a checked exception.
    • Method Detail

      • accept

        void accept​(T1 t1,
                    T2 t2,
                    T3 t3,
                    T4 t4,
                    T5 t5)
             throws java.lang.Throwable
        Consum the input parameters.
        Parameters:
        t1 - the first parameter
        t2 - the second parameter
        t3 - the third parameter
        t4 - the fourth parameter
        t5 - the fifth parameter
        Throws:
        java.lang.Throwable - on error