Interface Consumer<T>

  • Type Parameters:
    T - the input type

    public interface Consumer<T>
    Represents an operation that takes an input and returns no result.
    • Method Detail

      • accept

        void accept​(T t)
        Performs the operation on the given argument.
        Parameters:
        t - the input argument