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