@FunctionalInterface
public interface TriConsumer<A,B,C>
| Modifier and Type | Method and Description |
|---|---|
void |
accept(A a,
B b,
C c) |
default TriConsumer<A,B,C> |
after(TriConsumer<A,B,C> other)
Executes the other consumer before this one.
|
default TriConsumer<A,B,C> |
before(TriConsumer<A,B,C> other)
Executes the other consumer after this one.
|
default TriConsumer<A,B,C> before(TriConsumer<A,B,C> other)
a.before(b); //a is executed before bother - The other consumer to executedefault TriConsumer<A,B,C> after(TriConsumer<A,B,C> other)
a.after(b); //b is executed before aother - The other consumer to execute