T
- The type to acceptpublic interface Consumer<T>
Consumer
interface, for backwards compatibility.
This interface represents a function that takes one argument and returns nothingModifier and Type | Method and Description |
---|---|
void |
accept(T value)
The method to be implemented as a function.
|
void accept(T value)
value
- The argument accepted by the function