Interface Consumer<T>


  • public interface Consumer<T>
    • Field Detail

      • EMPTY_CONSUMER

        static final Consumer EMPTY_CONSUMER
    • Method Detail

      • consume

        void consume​(T t)
        Parameters:
        t - consequently takes value of each element of the set this processor is passed to for processing. t is supposed to be a not-null value.