public class PrintConsumer<T> extends Object implements Consumer<T>
A consumer that prints the input to stdout.
Constructor and Description |
---|
PrintConsumer() |
Modifier and Type | Method and Description |
---|---|
void |
accept(T input)
Performs an operation on the given argument.
|
Copyright © 2022 The Apache Software Foundation. All rights reserved.