## Uses of Interface
org.optaplanner.core.api.score.stream.bi.BiConstraintStream

- Packages that use BiConstraintStream
  Package | Description
  --- | ---
  org.optaplanner.core.api.score.stream | The `ConstraintStream` API: a way to define constraints for `Score` calculation.
  org.optaplanner.core.api.score.stream.bi | The `ConstraintStream` API for bi-tuples.
  org.optaplanner.core.api.score.stream.uni | The `ConstraintStream` API for uni-tuples.
  org.optaplanner.core.impl.score.stream.bavet |
  org.optaplanner.core.impl.score.stream.bavet.bi |
  org.optaplanner.core.impl.score.stream.bavet.uni |
  org.optaplanner.core.impl.score.stream.bi |
  org.optaplanner.core.impl.score.stream.drools |
  org.optaplanner.core.impl.score.stream.drools.bi |
  org.optaplanner.core.impl.score.stream.drools.uni |

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

    Methods in org.optaplanner.core.api.score.stream that return BiConstraintStream
    Modifier and Type | Method and Description
    --- | ---
    `default <A> BiConstraintStream<A,A>` | ConstraintFactory.`fromUniquePair(Class<A> fromClass)` Create a new `BiConstraintStream` for every unique combination of A and another A with a higher `PlanningId`.
    `default <A> BiConstraintStream<A,A>` | ConstraintFactory.`fromUniquePair(Class<A> fromClass, BiJoiner<A,A>... joiners)` As defined by `ConstraintFactory.fromUniquePair(Class, BiJoiner)`.
    `<A> BiConstraintStream<A,A>` | ConstraintFactory.`fromUniquePair(Class<A> fromClass, BiJoiner<A,A> joiner)` Create a new `BiConstraintStream` for every unique combination of A and another A with a higher `PlanningId` for which the `BiJoiner` is true (for the properties it extracts from both facts).
    `default <A> BiConstraintStream<A,A>` | ConstraintFactory.`fromUniquePair(Class<A> fromClass, BiJoiner<A,A> joiner1, BiJoiner<A,A> joiner2)` As defined by `ConstraintFactory.fromUniquePair(Class, BiJoiner)`.
    `default <A> BiConstraintStream<A,A>` | ConstraintFactory.`fromUniquePair(Class<A> fromClass, BiJoiner<A,A> joiner1, BiJoiner<A,A> joiner2, BiJoiner<A,A> joiner3)` As defined by `ConstraintFactory.fromUniquePair(Class, BiJoiner)`.
    `default <A> BiConstraintStream<A,A>` | ConstraintFactory.`fromUniquePair(Class<A> fromClass, BiJoiner<A,A> joiner1, BiJoiner<A,A> joiner2, BiJoiner<A,A> joiner3, BiJoiner<A,A> joiner4)` As defined by `ConstraintFactory.fromUniquePair(Class, BiJoiner)`.

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

    Methods in org.optaplanner.core.api.score.stream.bi that return BiConstraintStream
    Modifier and Type | Method and Description
    --- | ---
    `BiConstraintStream<A,B>` | BiConstraintStream.`filter(BiPredicate<A,B> predicate)` Exhaustively test each tuple of facts against the `BiPredicate` and match if `BiPredicate.test(Object, Object)` returns true.

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

    Methods in org.optaplanner.core.api.score.stream.uni that return BiConstraintStream
    Modifier and Type | Method and Description
    --- | ---
    `<GroupKey_,ResultContainer_,Result_> BiConstraintStream<GroupKey_,Result_>` | UniConstraintStream.`groupBy(Function<A,GroupKey_> groupKeyMapping, UniConstraintCollector<A,ResultContainer_,Result_> collector)` Convert the `UniConstraintStream` to a `BiConstraintStream`, consisting of tuples which have: As the first fact, the value resulting from applying the group key mapping function on the fact from the original tuple.
    `default <B> BiConstraintStream<A,B>` | UniConstraintStream.`join(Class<B> otherClass)` Create a new `BiConstraintStream` for every combination of A and B.
    `default <B> BiConstraintStream<A,B>` | UniConstraintStream.`join(Class<B> otherClass, BiJoiner<A,B>... joiners)` As defined by `UniConstraintStream.join(Class, BiJoiner)`.
    `default <B> BiConstraintStream<A,B>` | UniConstraintStream.`join(Class<B> otherClass, BiJoiner<A,B> joiner)` Create a new `BiConstraintStream` for every combination of A and B for which the `BiJoiner` is true (for the properties it extracts from both facts).
    `default <B> BiConstraintStream<A,B>` | UniConstraintStream.`join(Class<B> otherClass, BiJoiner<A,B> joiner1, BiJoiner<A,B> joiner2)` As defined by `UniConstraintStream.join(Class, BiJoiner)`.
    `default <B> BiConstraintStream<A,B>` | UniConstraintStream.`join(Class<B> otherClass, BiJoiner<A,B> joiner1, BiJoiner<A,B> joiner2, BiJoiner<A,B> joiner3)` As defined by `UniConstraintStream.join(Class, BiJoiner)`.
    `default <B> BiConstraintStream<A,B>` | UniConstraintStream.`join(Class<B> otherClass, BiJoiner<A,B> joiner1, BiJoiner<A,B> joiner2, BiJoiner<A,B> joiner3, BiJoiner<A,B> joiner4)` As defined by `UniConstraintStream.join(Class, BiJoiner)`.
    `default <B> BiConstraintStream<A,B>` | UniConstraintStream.`join(UniConstraintStream<B> otherStream)` Create a new `BiConstraintStream` for every combination of A and B.
    `<B> BiConstraintStream<A,B>` | UniConstraintStream.`join(UniConstraintStream<B> otherStream, BiJoiner<A,B> joiner)` Create a new `BiConstraintStream` for every combination of A and B for which the `BiJoiner` is true (for the properties it extracts from both facts).

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

    Methods in org.optaplanner.core.impl.score.stream.bavet that return BiConstraintStream
    Modifier and Type | Method and Description
    --- | ---
    `<A> BiConstraintStream<A,A>` | BavetConstraintFactory.`fromUniquePair(Class<A> fromClass, BiJoiner<A,A> joiner)`

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

    Classes in org.optaplanner.core.impl.score.stream.bavet.bi that implement BiConstraintStream
    Modifier and Type | Class and Description
    --- | ---
    `class` | `BavetAbstractBiConstraintStream<Solution_,A,B>`
    `class` | `BavetFilterBiConstraintStream<Solution_,A,B>`
    `class` | `BavetGroupBiConstraintStream<Solution_,GroupKey_,ResultContainer_,Result_>`
    `class` | `BavetJoinBiConstraintStream<Solution_,A,B>`
    `class` | `BavetJoinBridgeBiConstraintStream<Solution_,A,B>`
    `class` | `BavetScoringBiConstraintStream<Solution_,A,B>`

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

    Methods in org.optaplanner.core.impl.score.stream.bavet.uni that return BiConstraintStream
    Modifier and Type | Method and Description
    --- | ---
    `<GroupKey_,ResultContainer_,Result_> BiConstraintStream<GroupKey_,Result_>` | BavetAbstractUniConstraintStream.`groupBy(Function<A,GroupKey_> groupKeyMapping, UniConstraintCollector<A,ResultContainer_,Result_> collector)`
    `<B> BiConstraintStream<A,B>` | BavetAbstractUniConstraintStream.`join(UniConstraintStream<B> otherStream, BiJoiner<A,B> joiner)`

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

    Subinterfaces of BiConstraintStream in org.optaplanner.core.impl.score.stream.bi
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `InnerBiConstraintStream<A,B>`

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

    Methods in org.optaplanner.core.impl.score.stream.drools that return BiConstraintStream
    Modifier and Type | Method and Description
    --- | ---
    `<A> BiConstraintStream<A,A>` | DroolsConstraintFactory.`fromUniquePair(Class<A> fromClass, BiJoiner<A,A> joiner)`

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

    Classes in org.optaplanner.core.impl.score.stream.drools.bi that implement BiConstraintStream
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DroolsAbstractBiConstraintStream<Solution_,A,B>`
    `class` | `DroolsFilterBiConstraintStream<Solution_,A,B>`
    `class` | `DroolsGroupingBiConstraintStream<Solution_,A,NewA,ResultContainer_,NewB>`
    `class` | `DroolsJoinBiConstraintStream<Solution_,A,B>`
    `class` | `DroolsScoringBiConstraintStream<Solution_,A,B>`

    Methods in org.optaplanner.core.impl.score.stream.drools.bi that return BiConstraintStream
    Modifier and Type | Method and Description
    --- | ---
    `BiConstraintStream<A,B>` | DroolsAbstractBiConstraintStream.`filter(BiPredicate<A,B> predicate)`

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

    Methods in org.optaplanner.core.impl.score.stream.drools.uni that return BiConstraintStream
    Modifier and Type | Method and Description
    --- | ---
    `<GroupKey_,ResultContainer_,Result_> BiConstraintStream<GroupKey_,Result_>` | DroolsAbstractUniConstraintStream.`groupBy(Function<A,GroupKey_> groupKeyMapping, UniConstraintCollector<A,ResultContainer_,Result_> collector)`
    `<B> BiConstraintStream<A,B>` | DroolsAbstractUniConstraintStream.`join(UniConstraintStream<B> otherStream, BiJoiner<A,B> joiner)`

Copyright © 2006–2019 JBoss by Red Hat. All rights reserved.