public interface Consumer<T>
Composition
class to help with the types of composition that 1.8 functional
developers might be used to.Modifier and Type | Method and Description |
---|---|
void |
accept(T input)
Performs this operation on the given argument.
|
void accept(T input)