Interface BiConsumer<T,U>

Type Parameters:
T - the type of the first argument to the operation
U - the type of the second argument to the operation
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

  • Method Summary

    Modifier and Type

    Method

    Description

    void

    accept(T t, U u)

    Performs this operation on the given arguments.

    Returns a composed BiConsumer that performs, in sequence, this operation followed by the after operation.

  • Method Details

    • accept

    • andThen