Interface Consumer<T>

  • Type Parameters:
    T - The type of object to consume.
    All Known Implementing Classes:
    ErrorConsumer, SuccessConsumer

    public interface Consumer<T>
    Similar to Java8 Consumer.
    • Method Detail

      • accept

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