public interface Consumer<T> extends Operation
Represents an operation that accepts a single input argument and returns no result.
| Modifier and Type | Method and Description | 
|---|---|
void | 
accept(T input)
Performs an operation on the given argument. 
 | 
void accept(T input)
Performs an operation on the given argument.
input - the inputCopyright © 2022 The Apache Software Foundation. All rights reserved.