## Uses of Interface
org.optaplanner.core.api.score.stream.tri.TriConstraintCollector

- Packages that use TriConstraintCollector
  Package | Description
  --- | ---
  org.optaplanner.core.api.score.stream |
  org.optaplanner.core.api.score.stream.tri | The `ConstraintStream` API for tri-tuples.
  org.optaplanner.core.impl.score.stream.bavet.tri |
  org.optaplanner.core.impl.score.stream.drools.bi |
  org.optaplanner.core.impl.score.stream.drools.common |
  org.optaplanner.core.impl.score.stream.drools.quad |
  org.optaplanner.core.impl.score.stream.drools.tri |
  org.optaplanner.core.impl.score.stream.drools.uni |
  org.optaplanner.core.impl.score.stream.tri |

- - ### Uses of TriConstraintCollector in org.optaplanner.core.api.score.stream

    Methods in org.optaplanner.core.api.score.stream that return TriConstraintCollector
    Modifier and Type | Method | Description
    --- | --- | ---
    `static <A,​B,​C> TriConstraintCollector<A,​B,​C,​?,​Integer>` | ConstraintCollectors.`countDistinct​(TriFunction<A,​B,​C,​?> groupValueMapping)` | As defined by `ConstraintCollectors.countDistinct(Function)`.
    `static <A,​B,​C> TriConstraintCollector<A,​B,​C,​?,​Long>` | ConstraintCollectors.`countDistinctLong​(TriFunction<A,​B,​C,​?> groupValueMapping)` | As defined by `ConstraintCollectors.countDistinct(Function)`.
    `static <A,​B,​C> TriConstraintCollector<A,​B,​C,​?,​Long>` | ConstraintCollectors.`countLongTri()` | As defined by `ConstraintCollectors.count()`.
    `static <A,​B,​C> TriConstraintCollector<A,​B,​C,​?,​Integer>` | ConstraintCollectors.`countTri()` | As defined by `ConstraintCollectors.count()`.
    `static <A,​B,​C,​Mapped extends Comparable<Mapped>> TriConstraintCollector<A,​B,​C,​?,​Mapped>` | ConstraintCollectors.`max​(TriFunction<A,​B,​C,​Mapped> groupValueMapping)` | As defined by `ConstraintCollectors.max(Function)`.
    `static <A,​B,​C,​Mapped> TriConstraintCollector<A,​B,​C,​?,​Mapped>` | ConstraintCollectors.`max​(TriFunction<A,​B,​C,​Mapped> groupValueMapping, Comparator<Mapped> comparator)` | As defined by `ConstraintCollectors.max(Function)`, only with a custom `Comparator`.
    `static <A,​B,​C,​Mapped extends Comparable<Mapped>> TriConstraintCollector<A,​B,​C,​?,​Mapped>` | ConstraintCollectors.`min​(TriFunction<A,​B,​C,​Mapped> groupValueMapping)` | As defined by `ConstraintCollectors.min(Function)`.
    `static <A,​B,​C,​Mapped> TriConstraintCollector<A,​B,​C,​?,​Mapped>` | ConstraintCollectors.`min​(TriFunction<A,​B,​C,​Mapped> groupValueMapping, Comparator<Mapped> comparator)` | As defined by `ConstraintCollectors.min(Function)`, only with a custom `Comparator`.
    `static <A,​B,​C> TriConstraintCollector<A,​B,​C,​?,​Integer>` | ConstraintCollectors.`sum​(ToIntTriFunction<? super A,​? super B,​? super C> groupValueMapping)` | As defined by `ConstraintCollectors.sum(ToIntFunction)`.
    `static <A,​B,​C,​Result> TriConstraintCollector<A,​B,​C,​?,​Result>` | ConstraintCollectors.`sum​(TriFunction<? super A,​? super B,​? super C,​Result> groupValueMapping, Result zero, BinaryOperator<Result> adder, BinaryOperator<Result> subtractor)` | As defined by `ConstraintCollectors.sum(ToIntFunction)`.
    `static <A,​B,​C> TriConstraintCollector<A,​B,​C,​?,​BigDecimal>` | ConstraintCollectors.`sumBigDecimal​(TriFunction<? super A,​? super B,​? super C,​BigDecimal> groupValueMapping)` | As defined by `ConstraintCollectors.sum(ToIntFunction)`.
    `static <A,​B,​C> TriConstraintCollector<A,​B,​C,​?,​BigInteger>` | ConstraintCollectors.`sumBigInteger​(TriFunction<? super A,​? super B,​? super C,​BigInteger> groupValueMapping)` | As defined by `ConstraintCollectors.sum(ToIntFunction)`.
    `static <A,​B,​C> TriConstraintCollector<A,​B,​C,​?,​Duration>` | ConstraintCollectors.`sumDuration​(TriFunction<? super A,​? super B,​? super C,​Duration> groupValueMapping)` | As defined by `ConstraintCollectors.sum(ToIntFunction)`.
    `static <A,​B,​C> TriConstraintCollector<A,​B,​C,​?,​Long>` | ConstraintCollectors.`sumLong​(ToLongTriFunction<? super A,​? super B,​? super C> groupValueMapping)` | As defined by `ConstraintCollectors.sum(ToIntFunction)`.
    `static <A,​B,​C> TriConstraintCollector<A,​B,​C,​?,​Period>` | ConstraintCollectors.`sumPeriod​(TriFunction<? super A,​? super B,​? super C,​Period> groupValueMapping)` | As defined by `ConstraintCollectors.sum(ToIntFunction)`.
    `static <A,​B,​C,​Mapped,​Result extends Collection<Mapped>> TriConstraintCollector<A,​B,​C,​?,​Result>` | ConstraintCollectors.`toCollection​(TriFunction<A,​B,​C,​Mapped> groupValueMapping, IntFunction<Result> collectionFunction)` |
    `static <A,​B,​C,​Mapped> TriConstraintCollector<A,​B,​C,​?,​List<Mapped>>` | ConstraintCollectors.`toList​(TriFunction<A,​B,​C,​Mapped> groupValueMapping)` | Creates constraint collector that returns `List` of the given element type.
    `static <A,​B,​C,​Key,​Value> TriConstraintCollector<A,​B,​C,​?,​Map<Key,​Set<Value>>>` | ConstraintCollectors.`toMap​(TriFunction<? super A,​? super B,​? super C,​? extends Key> keyMapper, TriFunction<? super A,​? super B,​? super C,​? extends Value> valueMapper)` | As defined by `ConstraintCollectors.toMap(Function, Function)`.
    `static <A,​B,​C,​Key,​Value> TriConstraintCollector<A,​B,​C,​?,​Map<Key,​Value>>` | ConstraintCollectors.`toMap​(TriFunction<? super A,​? super B,​? super C,​? extends Key> keyMapper, TriFunction<? super A,​? super B,​? super C,​? extends Value> valueMapper, BinaryOperator<Value> mergeFunction)` | As defined by `ConstraintCollectors.toMap(Function, Function, BinaryOperator)`.
    `static <A,​B,​C,​Key,​Value,​ValueSet extends Set<Value>> TriConstraintCollector<A,​B,​C,​?,​Map<Key,​ValueSet>>` | ConstraintCollectors.`toMap​(TriFunction<? super A,​? super B,​? super C,​? extends Key> keyMapper, TriFunction<? super A,​? super B,​? super C,​? extends Value> valueMapper, IntFunction<ValueSet> valueSetFunction)` | As defined by `ConstraintCollectors.toMap(Function, Function, IntFunction)`.
    `static <A,​B,​C,​Mapped> TriConstraintCollector<A,​B,​C,​?,​Set<Mapped>>` | ConstraintCollectors.`toSet​(TriFunction<A,​B,​C,​Mapped> groupValueMapping)` | As defined by `ConstraintCollectors.toSet(Function)`.
    `static <A,​B,​C,​Key extends Comparable<Key>,​Value> TriConstraintCollector<A,​B,​C,​?,​SortedMap<Key,​Set<Value>>>` | ConstraintCollectors.`toSortedMap​(TriFunction<? super A,​? super B,​? super C,​? extends Key> keyMapper, TriFunction<? super A,​? super B,​? super C,​? extends Value> valueMapper)` | As defined by `ConstraintCollectors.toSortedMap(Function, Function)`.
    `static <A,​B,​C,​Key extends Comparable<Key>,​Value> TriConstraintCollector<A,​B,​C,​?,​SortedMap<Key,​Value>>` | ConstraintCollectors.`toSortedMap​(TriFunction<? super A,​? super B,​? super C,​? extends Key> keyMapper, TriFunction<? super A,​? super B,​? super C,​? extends Value> valueMapper, BinaryOperator<Value> mergeFunction)` | As defined by `ConstraintCollectors.toSortedMap(Function, Function, BinaryOperator)`.
    `static <A,​B,​C,​Key extends Comparable<Key>,​Value,​ValueSet extends Set<Value>> TriConstraintCollector<A,​B,​C,​?,​SortedMap<Key,​ValueSet>>` | ConstraintCollectors.`toSortedMap​(TriFunction<? super A,​? super B,​? super C,​? extends Key> keyMapper, TriFunction<? super A,​? super B,​? super C,​? extends Value> valueMapper, IntFunction<ValueSet> valueSetFunction)` | As defined by `ConstraintCollectors.toSortedMap(Function, Function, IntFunction)`.
    `static <A,​B,​C,​Mapped extends Comparable<Mapped>> TriConstraintCollector<A,​B,​C,​?,​SortedSet<Mapped>>` | ConstraintCollectors.`toSortedSet​(TriFunction<A,​B,​C,​Mapped> groupValueMapping)` | As defined by `ConstraintCollectors.toSortedSet(Function)`.

  - ### Uses of TriConstraintCollector in org.optaplanner.core.api.score.stream.tri

    Methods in org.optaplanner.core.api.score.stream.tri with parameters of type TriConstraintCollector
    Modifier and Type | Method | Description
    --- | --- | ---
    `<GroupKey_,​ResultContainer_,​Result_> BiConstraintStream<GroupKey_,​Result_>` | TriConstraintStream.`groupBy​(TriFunction<A,​B,​C,​GroupKey_> groupKeyMapping, TriConstraintCollector<A,​B,​C,​ResultContainer_,​Result_> collector)` | Convert the `TriConstraintStream` to a `BiConstraintStream`, consisting of unique tuples.
    `<GroupKey_,​ResultContainerB_,​ResultB_,​ResultContainerC_,​ResultC_> TriConstraintStream<GroupKey_,​ResultB_,​ResultC_>` | TriConstraintStream.`groupBy​(TriFunction<A,​B,​C,​GroupKey_> groupKeyMapping, TriConstraintCollector<A,​B,​C,​ResultContainerB_,​ResultB_> collectorB, TriConstraintCollector<A,​B,​C,​ResultContainerC_,​ResultC_> collectorC)` | Convert the `TriConstraintStream` to a `TriConstraintStream`, consisting of unique tuples with three facts.
    `<GroupKey_,​ResultContainerB_,​ResultB_,​ResultContainerC_,​ResultC_,​ResultContainerD_,​ResultD_> QuadConstraintStream<GroupKey_,​ResultB_,​ResultC_,​ResultD_>` | TriConstraintStream.`groupBy​(TriFunction<A,​B,​C,​GroupKey_> groupKeyMapping, TriConstraintCollector<A,​B,​C,​ResultContainerB_,​ResultB_> collectorB, TriConstraintCollector<A,​B,​C,​ResultContainerC_,​ResultC_> collectorC, TriConstraintCollector<A,​B,​C,​ResultContainerD_,​ResultD_> collectorD)` | Convert the `TriConstraintStream` to a `QuadConstraintStream`, consisting of unique tuples with four facts.
    `<GroupKeyA_,​GroupKeyB_,​GroupKeyC_,​ResultContainerD_,​ResultD_> QuadConstraintStream<GroupKeyA_,​GroupKeyB_,​GroupKeyC_,​ResultD_>` | TriConstraintStream.`groupBy​(TriFunction<A,​B,​C,​GroupKeyA_> groupKeyAMapping, TriFunction<A,​B,​C,​GroupKeyB_> groupKeyBMapping, TriFunction<A,​B,​C,​GroupKeyC_> groupKeyCMapping, TriConstraintCollector<A,​B,​C,​ResultContainerD_,​ResultD_> collectorD)` | Combines the semantics of `TriConstraintStream.groupBy(TriFunction, TriFunction)` and `TriConstraintStream.groupBy(TriConstraintCollector)`.
    `<GroupKeyA_,​GroupKeyB_,​ResultContainer_,​Result_> TriConstraintStream<GroupKeyA_,​GroupKeyB_,​Result_>` | TriConstraintStream.`groupBy​(TriFunction<A,​B,​C,​GroupKeyA_> groupKeyAMapping, TriFunction<A,​B,​C,​GroupKeyB_> groupKeyBMapping, TriConstraintCollector<A,​B,​C,​ResultContainer_,​Result_> collector)` | Combines the semantics of `TriConstraintStream.groupBy(TriFunction, TriFunction)` and `TriConstraintStream.groupBy(TriConstraintCollector)`.
    `<GroupKeyA_,​GroupKeyB_,​ResultContainerC_,​ResultC_,​ResultContainerD_,​ResultD_> QuadConstraintStream<GroupKeyA_,​GroupKeyB_,​ResultC_,​ResultD_>` | TriConstraintStream.`groupBy​(TriFunction<A,​B,​C,​GroupKeyA_> groupKeyAMapping, TriFunction<A,​B,​C,​GroupKeyB_> groupKeyBMapping, TriConstraintCollector<A,​B,​C,​ResultContainerC_,​ResultC_> collectorC, TriConstraintCollector<A,​B,​C,​ResultContainerD_,​ResultD_> collectorD)` | Combines the semantics of `TriConstraintStream.groupBy(TriFunction, TriFunction)` and `TriConstraintStream.groupBy(TriConstraintCollector)`.
    `<ResultContainer_,​Result_> UniConstraintStream<Result_>` | TriConstraintStream.`groupBy​(TriConstraintCollector<A,​B,​C,​ResultContainer_,​Result_> collector)` | Convert the `TriConstraintStream` to a `UniConstraintStream`, containing only a single tuple, the result of applying `TriConstraintCollector`.
    `<ResultContainerA_,​ResultA_,​ResultContainerB_,​ResultB_> BiConstraintStream<ResultA_,​ResultB_>` | TriConstraintStream.`groupBy​(TriConstraintCollector<A,​B,​C,​ResultContainerA_,​ResultA_> collectorA, TriConstraintCollector<A,​B,​C,​ResultContainerB_,​ResultB_> collectorB)` | Convert the `TriConstraintStream` to a `BiConstraintStream`, containing only a single tuple, the result of applying two `TriConstraintCollector`s.
    `<ResultContainerA_,​ResultA_,​ResultContainerB_,​ResultB_,​ResultContainerC_,​ResultC_> TriConstraintStream<ResultA_,​ResultB_,​ResultC_>` | TriConstraintStream.`groupBy​(TriConstraintCollector<A,​B,​C,​ResultContainerA_,​ResultA_> collectorA, TriConstraintCollector<A,​B,​C,​ResultContainerB_,​ResultB_> collectorB, TriConstraintCollector<A,​B,​C,​ResultContainerC_,​ResultC_> collectorC)` | Convert the `TriConstraintStream` to a `TriConstraintStream`, containing only a single tuple, the result of applying three `TriConstraintCollector`s.
    `<ResultContainerA_,​ResultA_,​ResultContainerB_,​ResultB_,​ResultContainerC_,​ResultC_,​ResultContainerD_,​ResultD_> QuadConstraintStream<ResultA_,​ResultB_,​ResultC_,​ResultD_>` | TriConstraintStream.`groupBy​(TriConstraintCollector<A,​B,​C,​ResultContainerA_,​ResultA_> collectorA, TriConstraintCollector<A,​B,​C,​ResultContainerB_,​ResultB_> collectorB, TriConstraintCollector<A,​B,​C,​ResultContainerC_,​ResultC_> collectorC, TriConstraintCollector<A,​B,​C,​ResultContainerD_,​ResultD_> collectorD)` | Convert the `TriConstraintStream` to a `QuadConstraintStream`, containing only a single tuple, the result of applying four `TriConstraintCollector`s.

  - ### Uses of TriConstraintCollector in org.optaplanner.core.impl.score.stream.bavet.tri

    Methods in org.optaplanner.core.impl.score.stream.bavet.tri with parameters of type TriConstraintCollector
    Modifier and Type | Method | Description
    --- | --- | ---
    `<GroupKey_,​ResultContainer_,​Result_> BiConstraintStream<GroupKey_,​Result_>` | BavetAbstractTriConstraintStream.`groupBy​(TriFunction<A,​B,​C,​GroupKey_> groupKeyMapping, TriConstraintCollector<A,​B,​C,​ResultContainer_,​Result_> collector)` |
    `<GroupKey_,​ResultContainerB_,​ResultB_,​ResultContainerC_,​ResultC_> TriConstraintStream<GroupKey_,​ResultB_,​ResultC_>` | BavetAbstractTriConstraintStream.`groupBy​(TriFunction<A,​B,​C,​GroupKey_> groupKeyMapping, TriConstraintCollector<A,​B,​C,​ResultContainerB_,​ResultB_> collectorB, TriConstraintCollector<A,​B,​C,​ResultContainerC_,​ResultC_> collectorC)` |
    `<GroupKey_,​ResultContainerB_,​ResultB_,​ResultContainerC_,​ResultC_,​ResultContainerD_,​ResultD_> QuadConstraintStream<GroupKey_,​ResultB_,​ResultC_,​ResultD_>` | BavetAbstractTriConstraintStream.`groupBy​(TriFunction<A,​B,​C,​GroupKey_> groupKeyMapping, TriConstraintCollector<A,​B,​C,​ResultContainerB_,​ResultB_> collectorB, TriConstraintCollector<A,​B,​C,​ResultContainerC_,​ResultC_> collectorC, TriConstraintCollector<A,​B,​C,​ResultContainerD_,​ResultD_> collectorD)` |
    `<GroupKeyA_,​GroupKeyB_,​GroupKeyC_,​ResultContainerD_,​ResultD_> QuadConstraintStream<GroupKeyA_,​GroupKeyB_,​GroupKeyC_,​ResultD_>` | BavetAbstractTriConstraintStream.`groupBy​(TriFunction<A,​B,​C,​GroupKeyA_> groupKeyAMapping, TriFunction<A,​B,​C,​GroupKeyB_> groupKeyBMapping, TriFunction<A,​B,​C,​GroupKeyC_> groupKeyCMapping, TriConstraintCollector<A,​B,​C,​ResultContainerD_,​ResultD_> collectorD)` |
    `<GroupKeyA_,​GroupKeyB_,​ResultContainer_,​Result_> TriConstraintStream<GroupKeyA_,​GroupKeyB_,​Result_>` | BavetAbstractTriConstraintStream.`groupBy​(TriFunction<A,​B,​C,​GroupKeyA_> groupKeyAMapping, TriFunction<A,​B,​C,​GroupKeyB_> groupKeyBMapping, TriConstraintCollector<A,​B,​C,​ResultContainer_,​Result_> collector)` |
    `<GroupKeyA_,​GroupKeyB_,​ResultContainerC_,​ResultC_,​ResultContainerD_,​ResultD_> QuadConstraintStream<GroupKeyA_,​GroupKeyB_,​ResultC_,​ResultD_>` | BavetAbstractTriConstraintStream.`groupBy​(TriFunction<A,​B,​C,​GroupKeyA_> groupKeyAMapping, TriFunction<A,​B,​C,​GroupKeyB_> groupKeyBMapping, TriConstraintCollector<A,​B,​C,​ResultContainerC_,​ResultC_> collectorC, TriConstraintCollector<A,​B,​C,​ResultContainerD_,​ResultD_> collectorD)` |
    `<ResultContainer_,​Result_> UniConstraintStream<Result_>` | BavetAbstractTriConstraintStream.`groupBy​(TriConstraintCollector<A,​B,​C,​ResultContainer_,​Result_> collector)` |
    `<ResultContainerA_,​ResultA_,​ResultContainerB_,​ResultB_> BiConstraintStream<ResultA_,​ResultB_>` | BavetAbstractTriConstraintStream.`groupBy​(TriConstraintCollector<A,​B,​C,​ResultContainerA_,​ResultA_> collectorA, TriConstraintCollector<A,​B,​C,​ResultContainerB_,​ResultB_> collectorB)` |
    `<ResultContainerA_,​ResultA_,​ResultContainerB_,​ResultB_,​ResultContainerC_,​ResultC_> TriConstraintStream<ResultA_,​ResultB_,​ResultC_>` | BavetAbstractTriConstraintStream.`groupBy​(TriConstraintCollector<A,​B,​C,​ResultContainerA_,​ResultA_> collectorA, TriConstraintCollector<A,​B,​C,​ResultContainerB_,​ResultB_> collectorB, TriConstraintCollector<A,​B,​C,​ResultContainerC_,​ResultC_> collectorC)` |
    `<ResultContainerA_,​ResultA_,​ResultContainerB_,​ResultB_,​ResultContainerC_,​ResultC_,​ResultContainerD_,​ResultD_> QuadConstraintStream<ResultA_,​ResultB_,​ResultC_,​ResultD_>` | BavetAbstractTriConstraintStream.`groupBy​(TriConstraintCollector<A,​B,​C,​ResultContainerA_,​ResultA_> collectorA, TriConstraintCollector<A,​B,​C,​ResultContainerB_,​ResultB_> collectorB, TriConstraintCollector<A,​B,​C,​ResultContainerC_,​ResultC_> collectorC, TriConstraintCollector<A,​B,​C,​ResultContainerD_,​ResultD_> collectorD)` |

  - ### Uses of TriConstraintCollector in org.optaplanner.core.impl.score.stream.drools.bi

    Constructors in org.optaplanner.core.impl.score.stream.drools.bi with parameters of type TriConstraintCollector
    Constructor | Description
    --- | ---
    `DroolsGroupingBiConstraintStream​(DroolsConstraintFactory<Solution_> constraintFactory, DroolsAbstractTriConstraintStream<Solution_,​A,​B,​C> parent, TriFunction<A,​B,​C,​NewA> groupKeyMapping, TriConstraintCollector<A,​B,​C,​?,​NewB> collector)` |
    `DroolsGroupingBiConstraintStream​(DroolsConstraintFactory<Solution_> constraintFactory, DroolsAbstractTriConstraintStream<Solution_,​A,​B,​C> parent, TriConstraintCollector<A,​B,​C,​?,​NewA> collectorA, TriConstraintCollector<A,​B,​C,​?,​NewB> collectorB)` |

  - ### Uses of TriConstraintCollector in org.optaplanner.core.impl.score.stream.drools.common

    Methods in org.optaplanner.core.impl.score.stream.drools.common with parameters of type TriConstraintCollector
    Modifier and Type | Method | Description
    --- | --- | ---
    `<NewA,​NewB,​NewC,​NewD> QuadLeftHandSide<NewA,​NewB,​NewC,​NewD>` | TriLeftHandSide.`andGroupBy​(TriFunction<A,​B,​C,​NewA> keyMappingA, TriFunction<A,​B,​C,​NewB> keyMappingB, TriFunction<A,​B,​C,​NewC> keyMappingC, TriConstraintCollector<A,​B,​C,​?,​NewD> collectorD)` |
    `<NewA,​NewB,​NewC> TriLeftHandSide<NewA,​NewB,​NewC>` | TriLeftHandSide.`andGroupBy​(TriFunction<A,​B,​C,​NewA> keyMappingA, TriFunction<A,​B,​C,​NewB> keyMappingB, TriConstraintCollector<A,​B,​C,​?,​NewC> collectorC)` |
    `<NewA,​NewB,​NewC,​NewD> QuadLeftHandSide<NewA,​NewB,​NewC,​NewD>` | TriLeftHandSide.`andGroupBy​(TriFunction<A,​B,​C,​NewA> keyMappingA, TriFunction<A,​B,​C,​NewB> keyMappingB, TriConstraintCollector<A,​B,​C,​?,​NewC> collectorC, TriConstraintCollector<A,​B,​C,​?,​NewD> collectorD)` |
    `<NewA,​NewB> BiLeftHandSide<NewA,​NewB>` | TriLeftHandSide.`andGroupBy​(TriFunction<A,​B,​C,​NewA> keyMappingA, TriConstraintCollector<A,​B,​C,​?,​NewB> collectorB)` |
    `<NewA,​NewB,​NewC> TriLeftHandSide<NewA,​NewB,​NewC>` | TriLeftHandSide.`andGroupBy​(TriFunction<A,​B,​C,​NewA> keyMappingA, TriConstraintCollector<A,​B,​C,​?,​NewB> collectorB, TriConstraintCollector<A,​B,​C,​?,​NewC> collectorC)` |
    `<NewA,​NewB,​NewC,​NewD> QuadLeftHandSide<NewA,​NewB,​NewC,​NewD>` | TriLeftHandSide.`andGroupBy​(TriFunction<A,​B,​C,​NewA> keyMappingA, TriConstraintCollector<A,​B,​C,​?,​NewB> collectorB, TriConstraintCollector<A,​B,​C,​?,​NewC> collectorC, TriConstraintCollector<A,​B,​C,​?,​NewD> collectorD)` |
    `<NewA> UniLeftHandSide<NewA>` | TriLeftHandSide.`andGroupBy​(TriConstraintCollector<A,​B,​C,​?,​NewA> collector)` |
    `<NewA,​NewB> BiLeftHandSide<NewA,​NewB>` | TriLeftHandSide.`andGroupBy​(TriConstraintCollector<A,​B,​C,​?,​NewA> collectorA, TriConstraintCollector<A,​B,​C,​?,​NewB> collectorB)` |
    `<NewA,​NewB,​NewC> TriLeftHandSide<NewA,​NewB,​NewC>` | TriLeftHandSide.`andGroupBy​(TriConstraintCollector<A,​B,​C,​?,​NewA> collectorA, TriConstraintCollector<A,​B,​C,​?,​NewB> collectorB, TriConstraintCollector<A,​B,​C,​?,​NewC> collectorC)` |
    `<NewA,​NewB,​NewC,​NewD> QuadLeftHandSide<NewA,​NewB,​NewC,​NewD>` | TriLeftHandSide.`andGroupBy​(TriConstraintCollector<A,​B,​C,​?,​NewA> collectorA, TriConstraintCollector<A,​B,​C,​?,​NewB> collectorB, TriConstraintCollector<A,​B,​C,​?,​NewC> collectorC, TriConstraintCollector<A,​B,​C,​?,​NewD> collectorD)` |

  - ### Uses of TriConstraintCollector in org.optaplanner.core.impl.score.stream.drools.quad

    Constructors in org.optaplanner.core.impl.score.stream.drools.quad with parameters of type TriConstraintCollector
    Constructor | Description
    --- | ---
    `DroolsGroupingQuadConstraintStream​(DroolsConstraintFactory<Solution_> constraintFactory, DroolsAbstractTriConstraintStream<Solution_,​A,​B,​C> parent, TriFunction<A,​B,​C,​NewA> groupKeyAMapping, TriFunction<A,​B,​C,​NewB> groupKeyBMapping, TriFunction<A,​B,​C,​NewC> groupKeyCMapping, TriConstraintCollector<A,​B,​C,​?,​NewD> collectorD)` |
    `DroolsGroupingQuadConstraintStream​(DroolsConstraintFactory<Solution_> constraintFactory, DroolsAbstractTriConstraintStream<Solution_,​A,​B,​C> parent, TriFunction<A,​B,​C,​NewA> groupKeyAMapping, TriFunction<A,​B,​C,​NewB> groupKeyBMapping, TriConstraintCollector<A,​B,​C,​?,​NewC> collectorC, TriConstraintCollector<A,​B,​C,​?,​NewD> collectorD)` |
    `DroolsGroupingQuadConstraintStream​(DroolsConstraintFactory<Solution_> constraintFactory, DroolsAbstractTriConstraintStream<Solution_,​A,​B,​C> parent, TriFunction<A,​B,​C,​NewA> groupKeyAMapping, TriConstraintCollector<A,​B,​C,​?,​NewB> collectorB, TriConstraintCollector<A,​B,​C,​?,​NewC> collectorC, TriConstraintCollector<A,​B,​C,​?,​NewD> collectorD)` |
    `DroolsGroupingQuadConstraintStream​(DroolsConstraintFactory<Solution_> constraintFactory, DroolsAbstractTriConstraintStream<Solution_,​A,​B,​C> parent, TriConstraintCollector<A,​B,​C,​?,​NewA> collectorA, TriConstraintCollector<A,​B,​C,​?,​NewB> collectorB, TriConstraintCollector<A,​B,​C,​?,​NewC> collectorC, TriConstraintCollector<A,​B,​C,​?,​NewD> collectorD)` |

  - ### Uses of TriConstraintCollector in org.optaplanner.core.impl.score.stream.drools.tri

    Methods in org.optaplanner.core.impl.score.stream.drools.tri with parameters of type TriConstraintCollector
    Modifier and Type | Method | Description
    --- | --- | ---
    `<GroupKey_,​ResultContainer_,​Result_> BiConstraintStream<GroupKey_,​Result_>` | DroolsAbstractTriConstraintStream.`groupBy​(TriFunction<A,​B,​C,​GroupKey_> groupKeyMapping, TriConstraintCollector<A,​B,​C,​ResultContainer_,​Result_> collector)` |
    `<GroupKey_,​ResultContainerB_,​ResultB_,​ResultContainerC_,​ResultC_> TriConstraintStream<GroupKey_,​ResultB_,​ResultC_>` | DroolsAbstractTriConstraintStream.`groupBy​(TriFunction<A,​B,​C,​GroupKey_> groupKeyMapping, TriConstraintCollector<A,​B,​C,​ResultContainerB_,​ResultB_> collectorB, TriConstraintCollector<A,​B,​C,​ResultContainerC_,​ResultC_> collectorC)` |
    `<GroupKey_,​ResultContainerB_,​ResultB_,​ResultContainerC_,​ResultC_,​ResultContainerD_,​ResultD_> QuadConstraintStream<GroupKey_,​ResultB_,​ResultC_,​ResultD_>` | DroolsAbstractTriConstraintStream.`groupBy​(TriFunction<A,​B,​C,​GroupKey_> groupKeyMapping, TriConstraintCollector<A,​B,​C,​ResultContainerB_,​ResultB_> collectorB, TriConstraintCollector<A,​B,​C,​ResultContainerC_,​ResultC_> collectorC, TriConstraintCollector<A,​B,​C,​ResultContainerD_,​ResultD_> collectorD)` |
    `<GroupKeyA_,​GroupKeyB_,​GroupKeyC_,​ResultContainerD_,​ResultD_> QuadConstraintStream<GroupKeyA_,​GroupKeyB_,​GroupKeyC_,​ResultD_>` | DroolsAbstractTriConstraintStream.`groupBy​(TriFunction<A,​B,​C,​GroupKeyA_> groupKeyAMapping, TriFunction<A,​B,​C,​GroupKeyB_> groupKeyBMapping, TriFunction<A,​B,​C,​GroupKeyC_> groupKeyCMapping, TriConstraintCollector<A,​B,​C,​ResultContainerD_,​ResultD_> collectorD)` |
    `<GroupKeyA_,​GroupKeyB_,​ResultContainer_,​Result_> TriConstraintStream<GroupKeyA_,​GroupKeyB_,​Result_>` | DroolsAbstractTriConstraintStream.`groupBy​(TriFunction<A,​B,​C,​GroupKeyA_> groupKeyAMapping, TriFunction<A,​B,​C,​GroupKeyB_> groupKeyBMapping, TriConstraintCollector<A,​B,​C,​ResultContainer_,​Result_> collector)` |
    `<GroupKeyA_,​GroupKeyB_,​ResultContainerC_,​ResultC_,​ResultContainerD_,​ResultD_> QuadConstraintStream<GroupKeyA_,​GroupKeyB_,​ResultC_,​ResultD_>` | DroolsAbstractTriConstraintStream.`groupBy​(TriFunction<A,​B,​C,​GroupKeyA_> groupKeyAMapping, TriFunction<A,​B,​C,​GroupKeyB_> groupKeyBMapping, TriConstraintCollector<A,​B,​C,​ResultContainerC_,​ResultC_> collectorC, TriConstraintCollector<A,​B,​C,​ResultContainerD_,​ResultD_> collectorD)` |
    `<ResultContainer_,​Result_> UniConstraintStream<Result_>` | DroolsAbstractTriConstraintStream.`groupBy​(TriConstraintCollector<A,​B,​C,​ResultContainer_,​Result_> collector)` |
    `<ResultContainerA_,​ResultA_,​ResultContainerB_,​ResultB_> BiConstraintStream<ResultA_,​ResultB_>` | DroolsAbstractTriConstraintStream.`groupBy​(TriConstraintCollector<A,​B,​C,​ResultContainerA_,​ResultA_> collectorA, TriConstraintCollector<A,​B,​C,​ResultContainerB_,​ResultB_> collectorB)` |
    `<ResultContainerA_,​ResultA_,​ResultContainerB_,​ResultB_,​ResultContainerC_,​ResultC_> TriConstraintStream<ResultA_,​ResultB_,​ResultC_>` | DroolsAbstractTriConstraintStream.`groupBy​(TriConstraintCollector<A,​B,​C,​ResultContainerA_,​ResultA_> collectorA, TriConstraintCollector<A,​B,​C,​ResultContainerB_,​ResultB_> collectorB, TriConstraintCollector<A,​B,​C,​ResultContainerC_,​ResultC_> collectorC)` |
    `<ResultContainerA_,​ResultA_,​ResultContainerB_,​ResultB_,​ResultContainerC_,​ResultC_,​ResultContainerD_,​ResultD_> QuadConstraintStream<ResultA_,​ResultB_,​ResultC_,​ResultD_>` | DroolsAbstractTriConstraintStream.`groupBy​(TriConstraintCollector<A,​B,​C,​ResultContainerA_,​ResultA_> collectorA, TriConstraintCollector<A,​B,​C,​ResultContainerB_,​ResultB_> collectorB, TriConstraintCollector<A,​B,​C,​ResultContainerC_,​ResultC_> collectorC, TriConstraintCollector<A,​B,​C,​ResultContainerD_,​ResultD_> collectorD)` |

    Constructors in org.optaplanner.core.impl.score.stream.drools.tri with parameters of type TriConstraintCollector
    Constructor | Description
    --- | ---
    `DroolsGroupingTriConstraintStream​(DroolsConstraintFactory<Solution_> constraintFactory, DroolsAbstractTriConstraintStream<Solution_,​A,​B,​C> parent, TriFunction<A,​B,​C,​NewA> groupKeyAMapping, TriFunction<A,​B,​C,​NewB> groupKeyBMapping, TriConstraintCollector<A,​B,​C,​?,​NewC> collector)` |
    `DroolsGroupingTriConstraintStream​(DroolsConstraintFactory<Solution_> constraintFactory, DroolsAbstractTriConstraintStream<Solution_,​A,​B,​C> parent, TriFunction<A,​B,​C,​NewA> groupKeyAMapping, TriConstraintCollector<A,​B,​C,​?,​NewB> collectorB, TriConstraintCollector<A,​B,​C,​?,​NewC> collectorC)` |
    `DroolsGroupingTriConstraintStream​(DroolsConstraintFactory<Solution_> constraintFactory, DroolsAbstractTriConstraintStream<Solution_,​A,​B,​C> parent, TriConstraintCollector<A,​B,​C,​?,​NewA> collectorA, TriConstraintCollector<A,​B,​C,​?,​NewB> collectorB, TriConstraintCollector<A,​B,​C,​?,​NewC> collectorC)` |

  - ### Uses of TriConstraintCollector in org.optaplanner.core.impl.score.stream.drools.uni

    Constructors in org.optaplanner.core.impl.score.stream.drools.uni with parameters of type TriConstraintCollector
    Constructor | Description
    --- | ---
    `DroolsGroupingUniConstraintStream​(DroolsConstraintFactory<Solution_> constraintFactory, DroolsAbstractTriConstraintStream<Solution_,​A,​B,​C> parent, TriConstraintCollector<A,​B,​C,​?,​NewA> collector)` |

  - ### Uses of TriConstraintCollector in org.optaplanner.core.impl.score.stream.tri

    Classes in org.optaplanner.core.impl.score.stream.tri that implement TriConstraintCollector
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `DefaultTriConstraintCollector<A,​B,​C,​ResultContainer_,​Result_>` |

    Methods in org.optaplanner.core.impl.score.stream.tri that return TriConstraintCollector
    Modifier and Type | Method | Description
    --- | --- | ---
    `static <A,​B,​C,​Result_> TriConstraintCollector<A,​B,​C,​?,​Result_>` | DefaultTriConstraintCollector.`noop()` |