Interface BiAccumulator<C,L,R>

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface BiAccumulator<C,L,R>
Interface modeling a builder funcction that accepts two parameters.
Since:
5.0
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accumulate(C container, L left, R right)
     
    default BiConsumer<L,R>
    into(C container)
    Returns a BiConsumer that accumulates pairs into container.
  • Method Details

    • accumulate

      void accumulate(C container, L left, R right)
    • into

      default BiConsumer<L,R> into(C container)
      Returns a BiConsumer that accumulates pairs into container.