Interface Consumer<T>

    • Method Detail

      • accept

        void accept​(@NonNull T t)
             throws java.lang.Throwable
        Consume the given value.
        Parameters:
        t - the value
        Throws:
        java.lang.Throwable - if the implementation wishes to throw any type of exception