T - the type of the input parameter@FunctionalInterface
public interface CheckedConsumer<T>
Consumer| Modifier and Type | Method and Description |
|---|---|
void |
accept(T t)
Performs this operation on the given argument.
|
void accept(T t) throws java.lang.Exception
t - the input argumentjava.lang.Exception - if any error occurs