Interface ThrowingConsumer<T>

    • Method Detail

      • accept

        void accept​(T t)
             throws Throwable
        Consume the supplied argument, potentially throwing an exception.
        Parameters:
        t - the argument to consume
        Throws:
        Throwable