T - type of the first argument to operationsU - type of second argument to operationsjava.util.function.BiConsumer<T,U>Enricher<B>@FunctionalInterface
public interface ThrowingBiConsumer<T,U>
extends java.util.function.BiConsumer<T,U>
| Modifier and Type | Method | Description |
|---|---|---|
default void |
accept(T t,
U u) |
The default accept allowing assignment as a normal BiConsumer.
|
void |
acceptThrows(T t,
U u) |
A method that accepts two arguments and allows for an Exception to be throws.
|
default void accept(T t, U u)
void acceptThrows(T t, U u) throws java.lang.Exception
t - type of the first argument to operationu - type of second argument to operationjava.lang.Exception - this function can throw exceptions