Interface BiConstraintCollector<A,​B,​ResultContainer_,​Result_>

    • Method Detail

      • supplier

        Supplier<ResultContainer_> supplier()
        A lambda that creates the result container, one for each group key combination.
        never null
      • accumulator

        TriFunction<ResultContainer_,​A,​B,​Runnable> accumulator()
        A lambda that extracts data from the matched facts, accumulates it in the result container and returns an undo operation for that accumulation.
        never null, the undo operation. This lambda is called when the facts no longer matches.