public interface Consumer<T>
Consumer are functions that act on an instance of a indicated type| Modifier and Type | Method and Description |
|---|---|
void |
accept(T value)
Performs this operation on the given argument.
|
void accept(T value)
value - the input argument