- All Superinterfaces:
Consumer<T>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public interface ThrowableConsumer<T,E extends Throwable>
extends Consumer<T>
- Author:
- Collin Alpert
-
Method Summary
| Modifier and Type |
Method |
Description |
default void |
accept(T t) |
Performs this operation on the given argument.
|
void |
consume(T t) |
|
-
Method Details
-
default void accept(
T t)
Performs this operation on the given argument.
- Specified by:
accept in interface Consumer<T>
- Parameters:
t - the input argument
-