T
- the type of the input to the operationpublic interface Consumer<T>
Consumer
is expected to operate via side-effects.
This is a functional interface
whose functional method is accept(Object)
.
void accept(T t)
t
- the input argumentCopyright © 2018. All rights reserved.