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