@FunctionalInterface
public interface ThrowingBiConsumer<A,B,T extends java.lang.Throwable>
| Modifier and Type | Method and Description |
|---|---|
void |
accept(A a,
B b) |
default ThrowingBiConsumer<A,B,T> |
after(ThrowingBiConsumer<A,B,T> other)
Executes the other consumer before this one.
|
default ThrowingBiConsumer<A,B,T> |
before(ThrowingBiConsumer<A,B,T> other)
Executes the other consumer after this one.
|
void accept(A a, B b) throws T extends java.lang.Throwable
T extends java.lang.Throwabledefault ThrowingBiConsumer<A,B,T> before(ThrowingBiConsumer<A,B,T> other)
a.before(b); //a is executed before bother - The other consumer to executedefault ThrowingBiConsumer<A,B,T> after(ThrowingBiConsumer<A,B,T> other)
a.after(b); //b is executed before aother - The other consumer to execute