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

- Packages that use UniConstraintCollector
  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.uni | The `ConstraintStream` API for one matched fact.
  org.optaplanner.core.impl.score.stream.bavet.uni |
  org.optaplanner.core.impl.score.stream.drools.uni |
  org.optaplanner.core.impl.score.stream.uni |

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

    Methods in org.optaplanner.core.api.score.stream that return UniConstraintCollector
    Modifier and Type | Method and Description
    --- | ---
    `static <A> UniConstraintCollector<A,?,Integer>` | ConstraintCollectors.`count()`
    `static <A> UniConstraintCollector<A,?,Integer>` | ConstraintCollectors.`countDistinct(Function<A,?> groupValueMapping)`
    `static <A> UniConstraintCollector<A,?,Long>` | ConstraintCollectors.`countDistinctLong(Function<A,?> groupValueMapping)`
    `static <A> UniConstraintCollector<A,?,Long>` | ConstraintCollectors.`countLong()`
    `static <A extends Comparable<A>> UniConstraintCollector<A,?,A>` | ConstraintCollectors.`max()`
    `static <A> UniConstraintCollector<A,?,A>` | ConstraintCollectors.`max(Comparator<A> comparator)`
    `static <A extends Comparable<A>> UniConstraintCollector<A,?,A>` | ConstraintCollectors.`min()`
    `static <A> UniConstraintCollector<A,?,A>` | ConstraintCollectors.`min(Comparator<A> comparator)`
    `static <A> UniConstraintCollector<A,?,Integer>` | ConstraintCollectors.`sum(ToIntFunction<? super A> groupValueMapping)`
    `static <A> UniConstraintCollector<A,?,Long>` | ConstraintCollectors.`sumLong(ToLongFunction<? super A> groupValueMapping)`

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

    Methods in org.optaplanner.core.api.score.stream.uni with parameters of type UniConstraintCollector
    Modifier and Type | Method and Description
    --- | ---
    `<GroupKey_,ResultContainer_,Result_> BiConstraintStream<GroupKey_,Result_>` | UniConstraintStream.`groupBy(Function<A,GroupKey_> groupKeyMapping, UniConstraintCollector<A,ResultContainer_,Result_> collector)`
    `<GroupKeyA_,GroupKeyB_,ResultContainer_,Result_> TriConstraintStream<GroupKeyA_,GroupKeyB_,Result_>` | UniConstraintStream.`groupBy(Function<A,GroupKeyA_> groupKeyAMapping, Function<A,GroupKeyB_> groupKeyBMapping, UniConstraintCollector<A,ResultContainer_,Result_> collector)`
    `<GroupKey_,ResultContainer_,Result_> UniConstraintStream<Result_>` | UniConstraintStream.`groupBy(UniConstraintCollector<A,ResultContainer_,Result_> collector)`

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

    Methods in org.optaplanner.core.impl.score.stream.bavet.uni with parameters of type UniConstraintCollector
    Modifier and Type | Method and Description
    --- | ---
    `<GroupKey_,ResultContainer_,Result_> BiConstraintStream<GroupKey_,Result_>` | BavetAbstractUniConstraintStream.`groupBy(Function<A,GroupKey_> groupKeyMapping, UniConstraintCollector<A,ResultContainer_,Result_> collector)`
    `<GroupKeyA_,GroupKeyB_,ResultContainer_,Result_> TriConstraintStream<GroupKeyA_,GroupKeyB_,Result_>` | BavetAbstractUniConstraintStream.`groupBy(Function<A,GroupKeyA_> groupKeyAMapping, Function<A,GroupKeyB_> groupKeyBMapping, UniConstraintCollector<A,ResultContainer_,Result_> collector)`
    `<GroupKey_,ResultContainer_,Result_> UniConstraintStream<Result_>` | BavetAbstractUniConstraintStream.`groupBy(UniConstraintCollector<A,ResultContainer_,Result_> collector)`

    Constructors in org.optaplanner.core.impl.score.stream.bavet.uni with parameters of type UniConstraintCollector
    Constructor and Description
    `BavetGroupBridgeUniConstraintStream(BavetConstraintFactory<Solution_> constraintFactory, BavetAbstractUniConstraintStream<Solution_,A> parent, Function<A,GroupKey_> groupKeyMapping, UniConstraintCollector<A,ResultContainer_,Result_> collector)`
    `BavetGroupBridgeUniNode(BavetConstraintSession session, int nodeOrder, BavetAbstractUniNode<A> parentNode, Function<A,GroupKey_> groupKeyMapping, UniConstraintCollector<A,ResultContainer_,Result_> collector, BavetGroupBiNode<GroupKey_,ResultContainer_,Result_> groupNode)`

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

    Methods in org.optaplanner.core.impl.score.stream.drools.uni with parameters of type UniConstraintCollector
    Modifier and Type | Method and Description
    --- | ---
    `<GroupKey_,ResultContainer_,Result_> BiConstraintStream<GroupKey_,Result_>` | DroolsAbstractUniConstraintStream.`groupBy(Function<A,GroupKey_> groupKeyMapping, UniConstraintCollector<A,ResultContainer_,Result_> collector)`
    `<GroupKeyA_,GroupKeyB_,ResultContainer_,Result_> TriConstraintStream<GroupKeyA_,GroupKeyB_,Result_>` | DroolsAbstractUniConstraintStream.`groupBy(Function<A,GroupKeyA_> groupKeyAMapping, Function<A,GroupKeyB_> groupKeyBMapping, UniConstraintCollector<A,ResultContainer_,Result_> collector)`
    `<GroupKey_,ResultContainer_,Result_> UniConstraintStream<Result_>` | DroolsAbstractUniConstraintStream.`groupBy(UniConstraintCollector<A,ResultContainer_,Result_> collector)`

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

    Classes in org.optaplanner.core.impl.score.stream.uni that implement UniConstraintCollector
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DefaultUniConstraintCollector<A,ResultContainer_,Result_>`

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