@FunctionalInterface
public interface TriConsumer<A,B,C>
| Modifier and Type | Method and Description |
|---|---|
void |
accept(A a,
B b,
C c)
Performs this operation on the given arguments.
|
default TriConsumer<A,B,C> |
andThen(TriConsumer<? super A,? super B,? super C> after)
Returns a composed
TriConsumer that performs, in sequence, this
operation followed by the after operation. |
void accept(A a, B b, C c)
a - the first input argumentb - the second input argumentc - the second input argumentdefault TriConsumer<A,B,C> andThen(TriConsumer<? super A,? super B,? super C> after)
TriConsumer that performs, in sequence, this
operation followed by the after operation. If performing either
operation throws an exception, it is relayed to the caller of the
composed operation. If performing this operation throws an exception,
the after operation will not be performed.after - the operation to perform after this operationTriConsumer that performs in sequence this
operation followed by the after operationjava.lang.NullPointerException - if after is null