Consumer that deals with checked exceptions by rethrowing them as RuntimeException.
More precisely, RuntimeException and AssertionError are rethrown as they are,
while any other Throwable is wrapped in a RuntimeException and rethrown.
| Modifier and Type | Method and Description |
|---|---|
| public default void | accept(final T
the input argument input)Implements java. |
| public void |
| accept | back to summary |
|---|---|
| public default void accept(final T input) Implements java. Doc from java. Performs this operation on the given argument.
| |
| acceptThrows | back to summary |
|---|---|
| public void acceptThrows(T input) throws Throwable | |