T - The type of input parameter to accept.public interface Consumer<T>
A special type of function which does not return anything.
Note: In future version this interface may derive from
Function<P, Void>.
void accept(T param)
Copyright © 2017. All rights reserved.