T - the type of the input to the consumer's methodX - the type of exception that may be thrown by the consumer's method@FunctionalInterface public interface XConsumer<T,X extends Exception>
Consumer| Modifier and Type | Method and Description |
|---|---|
void |
accept(T t)
Performs this operation on the given argument.
|
Copyright © 2020. All rights reserved.