## Uses of Interface
org.optaplanner.core.api.score.stream.uni.UniConstraintStream

- Packages that use UniConstraintStream
  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 |
  org.optaplanner.core.impl.score.stream.bavet.bi |
  org.optaplanner.core.impl.score.stream.bavet.uni |
  org.optaplanner.core.impl.score.stream.drools |
  org.optaplanner.core.impl.score.stream.drools.bi |
  org.optaplanner.core.impl.score.stream.drools.uni |
  org.optaplanner.core.impl.score.stream.uni |

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

    Methods in org.optaplanner.core.api.score.stream that return UniConstraintStream
    Modifier and Type | Method and Description
    --- | ---
    `<A> UniConstraintStream<A>` | ConstraintFactory.`from(Class<A> fromClass)` Start a `ConstraintStream` of all instances of the fromClass that are known as `problem facts` or `planning entities`.
    `<A> UniConstraintStream<A>` | ConstraintFactory.`fromUnfiltered(Class<A> fromClass)` Like `ConstraintFactory.from(Class)`, but without any filtering of uninitialized `planning entities`.

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

    Methods in org.optaplanner.core.api.score.stream.bi with parameters of type UniConstraintStream
    Modifier and Type | Method and Description
    --- | ---
    `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 `BiJoiner` is true (for the properties it extracts from both facts).

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

    Methods in org.optaplanner.core.api.score.stream.uni that return UniConstraintStream
    Modifier and Type | Method and Description
    --- | ---
    `UniConstraintStream<A>` | UniConstraintStream.`filter(Predicate<A> predicate)` Exhaustively test each fact against the `Predicate` and match if `Predicate.test(Object)` returns true.
    `<GroupKey_> UniConstraintStream<GroupKey_>` | UniConstraintStream.`groupBy(Function<A,GroupKey_> groupKeyMapping)` Convert the `UniConstraintStream` to a different `UniConstraintStream`, containing of the set of tuples resulting from applying the group key mapping function on all tuples of the original stream.
    `<ResultContainer_,Result_> UniConstraintStream<Result_>` | UniConstraintStream.`groupBy(UniConstraintCollector<A,ResultContainer_,Result_> collector)` Runs all tuples of the stream through a given @`UniConstraintCollector` and converts them into a new `UniConstraintStream` which only has a single tuple, the result of applying `UniConstraintCollector`.

    Methods in org.optaplanner.core.api.score.stream.uni with parameters of type UniConstraintStream
    Modifier and Type | Method and Description
    --- | ---
    `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 UniConstraintStream in org.optaplanner.core.impl.score.stream

    Methods in org.optaplanner.core.impl.score.stream that return UniConstraintStream
    Modifier and Type | Method and Description
    --- | ---
    `default <A> UniConstraintStream<A>` | InnerConstraintFactory.`from(Class<A> fromClass)`

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

    Methods in org.optaplanner.core.impl.score.stream.bavet.bi with parameters of type UniConstraintStream
    Modifier and Type | Method and Description
    --- | ---
    `<C> TriConstraintStream<A,B,C>` | BavetAbstractBiConstraintStream.`join(UniConstraintStream<C> otherStream, TriJoiner<A,B,C> joiner)`

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

    Classes in org.optaplanner.core.impl.score.stream.bavet.uni that implement UniConstraintStream
    Modifier and Type | Class and Description
    --- | ---
    `class` | `BavetAbstractUniConstraintStream<Solution_,A>`
    `class` | `BavetFilterUniConstraintStream<Solution_,A>`
    `class` | `BavetFromUniConstraintStream<Solution_,A>`
    `class` | `BavetGroupBridgeUniConstraintStream<Solution_,A,NewA,ResultContainer_,NewB>`
    `class` | `BavetJoinBridgeUniConstraintStream<Solution_,A>`
    `class` | `BavetScoringUniConstraintStream<Solution_,A>`

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

    Methods in org.optaplanner.core.impl.score.stream.bavet.uni with parameters of type UniConstraintStream
    Modifier and Type | Method and Description
    --- | ---
    `<B> BiConstraintStream<A,B>` | BavetAbstractUniConstraintStream.`join(UniConstraintStream<B> otherStream, BiJoiner<A,B> joiner)`

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

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

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

    Methods in org.optaplanner.core.impl.score.stream.drools.bi with parameters of type UniConstraintStream
    Modifier and Type | Method and Description
    --- | ---
    `<C> TriConstraintStream<A,B,C>` | DroolsAbstractBiConstraintStream.`join(UniConstraintStream<C> otherStream, TriJoiner<A,B,C> joiner)`

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

    Classes in org.optaplanner.core.impl.score.stream.drools.uni that implement UniConstraintStream
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DroolsAbstractUniConstraintStream<Solution_,A>`
    `class` | `DroolsFilterUniConstraintStream<Solution_,A>`
    `class` | `DroolsFromUniConstraintStream<Solution_,A>`
    `class` | `DroolsGroupingUniConstraintStream<Solution_,A,NewA>`
    `class` | `DroolsScoringUniConstraintStream<Solution_,A>`

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

    Methods in org.optaplanner.core.impl.score.stream.drools.uni with parameters of type UniConstraintStream
    Modifier and Type | Method and Description
    --- | ---
    `<B> BiConstraintStream<A,B>` | DroolsAbstractUniConstraintStream.`join(UniConstraintStream<B> otherStream, BiJoiner<A,B> joiner)`

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

    Subinterfaces of UniConstraintStream in org.optaplanner.core.impl.score.stream.uni
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `InnerUniConstraintStream<A>`

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