Interface BiConsumer<T,​U>

  • Type Parameters:
    T - The type of the first input.
    U - The type of the second input.

    public interface BiConsumer<T,​U>
    Type representing an operation that accepts two input arguments.
    • Method Detail

      • accept

        void accept​(T t,
                    U u)
        Performs the operation on the given two inputs.
        Parameters:
        t - The first input.
        u - The second input.