@FunctionalInterface
public interface Consumer<O>
| Modifier and Type | Method and Description |
|---|---|
void |
accept(O o) |
default Consumer<O> |
after(Consumer<O> other)
Executes the other consumer before this one.
|
default Consumer<O> |
before(Consumer<O> other)
Executes the other consumer after this one.
|