T - the input type of the accept(Object) operationE - the type of Throwable declared@FunctionalInterface public interface CheckedConsumer<T,E extends Throwable>
ConsumerConsumer| Modifier and Type | Method and Description |
|---|---|
void |
accept(T t)
|
default CheckedConsumer<T,E> |
andThen(CheckedConsumer<? super T,? extends E> after)
|
default CheckedConsumer<T,E> andThen(CheckedConsumer<? super T,? extends E> after)
after - the operation to perform after this operationCheckedConsumer that performs in sequence this
operation followed by the after operationNullPointerException - if after is nullCopyright © 2016–2018 earcam. All rights reserved.