Interface BiConsumer<T1,​T2>

    • Method Detail

      • accept

        void accept​(@NonNull T1 t1,
                    @NonNull T2 t2)
             throws java.lang.Throwable
        Performs an operation on the given values.
        Parameters:
        t1 - the first value
        t2 - the second value
        Throws:
        java.lang.Throwable - if the implementation wishes to throw any type of exception