Interface BufferingCollector<E>

  • Type Parameters:
    E -
    All Known Implementing Classes:
    BufferingCollector.Default

    public interface BufferingCollector<E>
    An instance that collects (buffers) elements and gets notified once the collecting process is completed.
    • Method Detail

      • accept

        void accept​(E element)
      • resetElements

        void resetElements()
      • finalizeElements

        void finalizeElements()
      • size

        long size()
      • isEmpty

        default boolean isEmpty()