Consumer
.
Unlike most other functional interfaces, BiConsumer
is expected
to operate via side-effects.
This is a functional interface
whose functional method is accept(Object, Object)
.
Consumer
Modifier and Type | Method and Description |
---|---|
public void | accept(T
the first input argument t, U the second input argument u)Performs this operation on the given arguments. |
public default BiConsumer | Returns: a composedBiConsumer that performs in sequence this
operation followed by the after operationthe operation to perform after this operation after)Returns a composed |
accept | back to summary |
---|---|
public void accept(T t, U u) Performs this operation on the given arguments.
|
andThen | back to summary |
---|---|
public default BiConsumer Returns a composed
|