Class StreamProgress<T>

  • All Implemented Interfaces:
    Consumer<T>

    public class StreamProgress<T>
    extends Object
    implements Consumer<T>
    • Constructor Detail

      • StreamProgress

        public StreamProgress​(Long size,
                              Integer tick)
      • StreamProgress

        public StreamProgress​(Consumer<Long> listener)
    • Method Detail

      • accept

        public void accept​(T e)
        Specified by:
        accept in interface Consumer<T>