Class PrintConsumer<T>

    • Constructor Detail

      • PrintConsumer

        public PrintConsumer()
    • Method Detail

      • accept

        public void accept​(T input)
        Description copied from interface: Consumer
        Performs an operation on the given argument.
        Specified by:
        accept in interface Consumer<T>
        Parameters:
        input - the input