Consumer
Represents an action that takes in a single input and returns no result.
Definition
@FunctionalInterface
public interface Consumer<T> {
void accept(T t);
}
Backlinks
Represents an action that takes in a single input and returns no result.
@FunctionalInterface
public interface Consumer<T> {
void accept(T t);
}