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

- Packages that use TriConstraintStream
  Package | Description
  --- | ---
  org.optaplanner.core.api.score.stream.bi | The `ConstraintStream` API for bi-tuples.
  org.optaplanner.core.api.score.stream.quad | The `ConstraintStream` API for four matched facts.
  org.optaplanner.core.api.score.stream.tri | The `ConstraintStream` API for tri-tuples.
  org.optaplanner.core.api.score.stream.uni | The `ConstraintStream` API for uni-tuples.
  org.optaplanner.core.impl.score.stream.bavet.bi |
  org.optaplanner.core.impl.score.stream.bavet.tri |
  org.optaplanner.core.impl.score.stream.bavet.uni |
  org.optaplanner.core.impl.score.stream.bi |
  org.optaplanner.core.impl.score.stream.drools.bi |
  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 TriConstraintStream in org.optaplanner.core.api.score.stream.bi

    Methods in org.optaplanner.core.api.score.stream.bi that return TriConstraintStream
    Modifier and Type | Method | Description
    --- | --- | ---
    `<GroupKeyA_,​GroupKeyB_,​ResultContainer_,​Result_> TriConstraintStream<GroupKeyA_,​GroupKeyB_,​Result_>` | BiConstraintStream.`groupBy​(BiFunction<A,​B,​GroupKeyA_> groupKeyAMapping, BiFunction<A,​B,​GroupKeyB_> groupKeyBMapping, BiConstraintCollector<A,​B,​ResultContainer_,​Result_> collector)` | Combines the semantics of `BiConstraintStream.groupBy(BiFunction, BiFunction)` and `BiConstraintStream.groupBy(BiConstraintCollector)`.
    `default <C> TriConstraintStream<A,​B,​C>` | BiConstraintStream.`join​(Class<C> otherClass)` | Create a new `TriConstraintStream` for every combination of [A, B] and C.
    `default <C> TriConstraintStream<A,​B,​C>` | BiConstraintStream.`join​(Class<C> otherClass, TriJoiner<A,​B,​C> joiner)` | Create a new `TriConstraintStream` for every combination of [A, B] and C for which the `TriJoiner` is true (for the properties it extracts from both facts).
    `default <C> TriConstraintStream<A,​B,​C>` | BiConstraintStream.`join​(Class<C> otherClass, TriJoiner<A,​B,​C>... joiners)` | As defined by `BiConstraintStream.join(Class, TriJoiner)`.
    `default <C> TriConstraintStream<A,​B,​C>` | BiConstraintStream.`join​(Class<C> otherClass, TriJoiner<A,​B,​C> joiner1, TriJoiner<A,​B,​C> joiner2)` | As defined by `BiConstraintStream.join(Class, TriJoiner)`.
    `default <C> TriConstraintStream<A,​B,​C>` | BiConstraintStream.`join​(Class<C> otherClass, TriJoiner<A,​B,​C> joiner1, TriJoiner<A,​B,​C> joiner2, TriJoiner<A,​B,​C> joiner3)` | As defined by `BiConstraintStream.join(Class, TriJoiner)`.
    `default <C> TriConstraintStream<A,​B,​C>` | BiConstraintStream.`join​(Class<C> otherClass, TriJoiner<A,​B,​C> joiner1, TriJoiner<A,​B,​C> joiner2, TriJoiner<A,​B,​C> joiner3, TriJoiner<A,​B,​C> joiner4)` | As defined by `BiConstraintStream.join(Class, TriJoiner)`.
    `default <C> TriConstraintStream<A,​B,​C>` | BiConstraintStream.`join​(UniConstraintStream<C> otherStream)` | Create a new `TriConstraintStream` for every combination of [A, B] and C.
    `<C> TriConstraintStream<A,​B,​C>` | BiConstraintStream.`join​(UniConstraintStream<C> otherStream, TriJoiner<A,​B,​C> joiner)` | Create a new `TriConstraintStream` for every combination of [A, B] and C for which the `TriJoiner` is true (for the properties it extracts from both facts).

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

    Methods in org.optaplanner.core.api.score.stream.quad that return TriConstraintStream
    Modifier and Type | Method | Description
    --- | --- | ---
    `<GroupKeyA_,​GroupKeyB_,​ResultContainer_,​Result_> TriConstraintStream<GroupKeyA_,​GroupKeyB_,​Result_>` | QuadConstraintStream.`groupBy​(QuadFunction<A,​B,​C,​D,​GroupKeyA_> groupKeyAMapping, QuadFunction<A,​B,​C,​D,​GroupKeyB_> groupKeyBMapping, QuadConstraintCollector<A,​B,​C,​D,​ResultContainer_,​Result_> collector)` | Combines the semantics of `QuadConstraintStream.groupBy(QuadFunction, QuadFunction)` and `QuadConstraintStream.groupBy(QuadConstraintCollector)`.

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

    Methods in org.optaplanner.core.api.score.stream.tri that return TriConstraintStream
    Modifier and Type | Method | Description
    --- | --- | ---
    `TriConstraintStream<A,​B,​C>` | TriConstraintStream.`filter​(TriPredicate<A,​B,​C> predicate)` | Exhaustively test each tuple of facts against the `TriPredicate` and match if `TriPredicate.test(Object, Object, Object)` returns true.
    `<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 `groupBy(TriFunction, TriFunction)` and `groupBy(TriConstraintCollector)`.
    `default <D> TriConstraintStream<A,​B,​C>` | TriConstraintStream.`ifExists​(Class<D> otherClass, QuadJoiner<A,​B,​C,​D> joiner)` | Create a new `BiConstraintStream` for every tuple of A, B and C where D exists for which the `QuadJoiner` is true (for the properties it extracts from the facts).
    `<D> TriConstraintStream<A,​B,​C>` | TriConstraintStream.`ifExists​(Class<D> otherClass, QuadJoiner<A,​B,​C,​D>... joiners)` | As defined by `ifExists(Class, QuadJoiner)`.
    `default <D> TriConstraintStream<A,​B,​C>` | TriConstraintStream.`ifExists​(Class<D> otherClass, QuadJoiner<A,​B,​C,​D> joiner1, QuadJoiner<A,​B,​C,​D> joiner2)` | As defined by `ifExists(Class, QuadJoiner)`.
    `default <D> TriConstraintStream<A,​B,​C>` | TriConstraintStream.`ifExists​(Class<D> otherClass, QuadJoiner<A,​B,​C,​D> joiner1, QuadJoiner<A,​B,​C,​D> joiner2, QuadJoiner<A,​B,​C,​D> joiner3)` | As defined by `ifExists(Class, QuadJoiner)`.
    `default <D> TriConstraintStream<A,​B,​C>` | TriConstraintStream.`ifExists​(Class<D> otherClass, QuadJoiner<A,​B,​C,​D> joiner1, QuadJoiner<A,​B,​C,​D> joiner2, QuadJoiner<A,​B,​C,​D> joiner3, QuadJoiner<A,​B,​C,​D> joiner4)` | As defined by `ifExists(Class, QuadJoiner)`.
    `default <D> TriConstraintStream<A,​B,​C>` | TriConstraintStream.`ifNotExists​(Class<D> otherClass, QuadJoiner<A,​B,​C,​D> joiner)` | Create a new `BiConstraintStream` for every tuple of A, B and C where D does not exist for which the `QuadJoiner` is true (for the properties it extracts from the facts).
    `<D> TriConstraintStream<A,​B,​C>` | TriConstraintStream.`ifNotExists​(Class<D> otherClass, QuadJoiner<A,​B,​C,​D>... joiners)` | As defined by `ifNotExists(Class, QuadJoiner)`.
    `default <D> TriConstraintStream<A,​B,​C>` | TriConstraintStream.`ifNotExists​(Class<D> otherClass, QuadJoiner<A,​B,​C,​D> joiner1, QuadJoiner<A,​B,​C,​D> joiner2)` | As defined by `ifNotExists(Class, QuadJoiner)`.
    `default <D> TriConstraintStream<A,​B,​C>` | TriConstraintStream.`ifNotExists​(Class<D> otherClass, QuadJoiner<A,​B,​C,​D> joiner1, QuadJoiner<A,​B,​C,​D> joiner2, QuadJoiner<A,​B,​C,​D> joiner3)` | As defined by `ifNotExists(Class, QuadJoiner)`.
    `default <D> TriConstraintStream<A,​B,​C>` | TriConstraintStream.`ifNotExists​(Class<D> otherClass, QuadJoiner<A,​B,​C,​D> joiner1, QuadJoiner<A,​B,​C,​D> joiner2, QuadJoiner<A,​B,​C,​D> joiner3, QuadJoiner<A,​B,​C,​D> joiner4)` | As defined by `ifNotExists(Class, QuadJoiner)`.

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

    Methods in org.optaplanner.core.api.score.stream.uni that return TriConstraintStream
    Modifier and Type | Method | Description
    --- | --- | ---
    `<GroupKeyA_,​GroupKeyB_,​ResultContainer_,​Result_> TriConstraintStream<GroupKeyA_,​GroupKeyB_,​Result_>` | UniConstraintStream.`groupBy​(Function<A,​GroupKeyA_> groupKeyAMapping, Function<A,​GroupKeyB_> groupKeyBMapping, UniConstraintCollector<A,​ResultContainer_,​Result_> collector)` | Combines the semantics of `UniConstraintStream.groupBy(Function, Function)` and `UniConstraintStream.groupBy(UniConstraintCollector)`.

  - ### Uses of TriConstraintStream in org.optaplanner.core.impl.score.stream.bavet.bi

    Methods in org.optaplanner.core.impl.score.stream.bavet.bi that return TriConstraintStream
    Modifier and Type | Method | Description
    --- | --- | ---
    `<GroupKeyA_,​GroupKeyB_,​ResultContainer_,​Result_> TriConstraintStream<GroupKeyA_,​GroupKeyB_,​Result_>` | BavetAbstractBiConstraintStream.`groupBy​(BiFunction<A,​B,​GroupKeyA_> groupKeyAMapping, BiFunction<A,​B,​GroupKeyB_> groupKeyBMapping, BiConstraintCollector<A,​B,​ResultContainer_,​Result_> collector)` |
    `<C> TriConstraintStream<A,​B,​C>` | BavetAbstractBiConstraintStream.`join​(UniConstraintStream<C> otherStream, TriJoiner<A,​B,​C> joiner)` |

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

    Classes in org.optaplanner.core.impl.score.stream.bavet.tri that implement TriConstraintStream
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `BavetAbstractTriConstraintStream<Solution_,​A,​B,​C>` |
    `class` | `BavetFilterTriConstraintStream<Solution_,​A,​B,​C>` |
    `class` | `BavetJoinTriConstraintStream<Solution_,​A,​B,​C>` |
    `class` | `BavetScoringTriConstraintStream<Solution_,​A,​B,​C>` |

    Methods in org.optaplanner.core.impl.score.stream.bavet.tri that return TriConstraintStream
    Modifier and Type | Method | Description
    --- | --- | ---
    `<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)` |
    `<D> TriConstraintStream<A,​B,​C>` | BavetAbstractTriConstraintStream.`ifExists​(Class<D> otherClass, QuadJoiner<A,​B,​C,​D>... joiners)` |
    `<D> TriConstraintStream<A,​B,​C>` | BavetAbstractTriConstraintStream.`ifNotExists​(Class<D> otherClass, QuadJoiner<A,​B,​C,​D>... joiners)` |

  - ### Uses of TriConstraintStream in org.optaplanner.core.impl.score.stream.bavet.uni

    Methods in org.optaplanner.core.impl.score.stream.bavet.uni that return TriConstraintStream
    Modifier and Type | Method | Description
    --- | --- | ---
    `<GroupKeyA_,​GroupKeyB_,​ResultContainer_,​Result_> TriConstraintStream<GroupKeyA_,​GroupKeyB_,​Result_>` | BavetAbstractUniConstraintStream.`groupBy​(Function<A,​GroupKeyA_> groupKeyAMapping, Function<A,​GroupKeyB_> groupKeyBMapping, UniConstraintCollector<A,​ResultContainer_,​Result_> collector)` |

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

    Methods in org.optaplanner.core.impl.score.stream.bi that return TriConstraintStream
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected TriConstraintStream<A,​B,​C>` | BiConstraintStreamHelper.`doJoin​(Class<C> otherClass)` |
    `protected TriConstraintStream<A,​B,​C>` | BiConstraintStreamHelper.`doJoin​(Class<C> otherClass, TriJoiner<A,​B,​C> joiner)` |
    `protected TriConstraintStream<A,​B,​C>` | BiConstraintStreamHelper.`doJoin​(Class<C> otherClass, TriJoiner<A,​B,​C>... joiners)` |
    `protected TriConstraintStream<A,​B,​C>` | BiConstraintStreamHelper.`filter​(TriConstraintStream<A,​B,​C> stream, TriPredicate<A,​B,​C> predicate)` |

    Methods in org.optaplanner.core.impl.score.stream.bi with parameters of type TriConstraintStream
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected TriConstraintStream<A,​B,​C>` | BiConstraintStreamHelper.`filter​(TriConstraintStream<A,​B,​C> stream, TriPredicate<A,​B,​C> predicate)` |

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

    Methods in org.optaplanner.core.impl.score.stream.drools.bi that return TriConstraintStream
    Modifier and Type | Method | Description
    --- | --- | ---
    `<GroupKeyA_,​GroupKeyB_,​ResultContainer_,​Result_> TriConstraintStream<GroupKeyA_,​GroupKeyB_,​Result_>` | DroolsAbstractBiConstraintStream.`groupBy​(BiFunction<A,​B,​GroupKeyA_> groupKeyAMapping, BiFunction<A,​B,​GroupKeyB_> groupKeyBMapping, BiConstraintCollector<A,​B,​ResultContainer_,​Result_> collector)` |
    `<C> TriConstraintStream<A,​B,​C>` | DroolsAbstractBiConstraintStream.`join​(UniConstraintStream<C> otherStream, TriJoiner<A,​B,​C> joiner)` |

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

    Methods in org.optaplanner.core.impl.score.stream.drools.quad that return TriConstraintStream
    Modifier and Type | Method | Description
    --- | --- | ---
    `<GroupKeyA_,​GroupKeyB_,​ResultContainer_,​Result_> TriConstraintStream<GroupKeyA_,​GroupKeyB_,​Result_>` | DroolsAbstractQuadConstraintStream.`groupBy​(QuadFunction<A,​B,​C,​D,​GroupKeyA_> groupKeyAMapping, QuadFunction<A,​B,​C,​D,​GroupKeyB_> groupKeyBMapping, QuadConstraintCollector<A,​B,​C,​D,​ResultContainer_,​Result_> collector)` |

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

    Classes in org.optaplanner.core.impl.score.stream.drools.tri that implement TriConstraintStream
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `DroolsAbstractTriConstraintStream<Solution_,​A,​B,​C>` |
    `class` | `DroolsExistsTriConstraintStream<Solution_,​A,​B,​C>` |
    `class` | `DroolsFilterTriConstraintStream<Solution_,​A,​B,​C>` |
    `class` | `DroolsGroupingTriConstraintStream<Solution_,​NewA,​NewB,​NewC>` |
    `class` | `DroolsJoinTriConstraintStream<Solution_,​A,​B,​C>` |

    Methods in org.optaplanner.core.impl.score.stream.drools.tri that return TriConstraintStream
    Modifier and Type | Method | Description
    --- | --- | ---
    `TriConstraintStream<A,​B,​C>` | DroolsAbstractTriConstraintStream.`filter​(TriPredicate<A,​B,​C> predicate)` |
    `<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)` |
    `<D> TriConstraintStream<A,​B,​C>` | DroolsAbstractTriConstraintStream.`ifExists​(Class<D> otherClass, QuadJoiner<A,​B,​C,​D>... joiners)` |
    `<D> TriConstraintStream<A,​B,​C>` | DroolsAbstractTriConstraintStream.`ifNotExists​(Class<D> otherClass, QuadJoiner<A,​B,​C,​D>... joiners)` |

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

    Methods in org.optaplanner.core.impl.score.stream.drools.uni that return TriConstraintStream
    Modifier and Type | Method | Description
    --- | --- | ---
    `<GroupKeyA_,​GroupKeyB_,​ResultContainer_,​Result_> TriConstraintStream<GroupKeyA_,​GroupKeyB_,​Result_>` | DroolsAbstractUniConstraintStream.`groupBy​(Function<A,​GroupKeyA_> groupKeyAMapping, Function<A,​GroupKeyB_> groupKeyBMapping, UniConstraintCollector<A,​ResultContainer_,​Result_> collector)` |

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

    Subinterfaces of TriConstraintStream in org.optaplanner.core.impl.score.stream.tri
    Modifier and Type | Interface | Description
    --- | --- | ---
    `interface` | `InnerTriConstraintStream<A,​B,​C>` |

    Constructors in org.optaplanner.core.impl.score.stream.tri with parameters of type TriConstraintStream
    Constructor | Description
    --- | ---
    `TriConstraintStreamHelper​(TriConstraintStream<A,​B,​C> stream)` |