@java.lang.Deprecated public interface Consumer<T>
Implementations accept a given value and perform work on the argument.
T - the type of values to accept| Type Params | Return Type | Name and description |
|---|---|---|
|
public void |
accept(T t)Execute the logic of the action, accepting the given parameter. |