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 two matched facts. |
org.optaplanner.core.impl.score.stream.bavet.bi | |
org.optaplanner.core.impl.score.stream.bi |
Modifier and Type | Method and Description |
---|---|
static <A,B> BiConstraintCollector<A,B,?,Integer> |
ConstraintCollectors.countBi() |
static <A,B> BiConstraintCollector<A,B,?,Long> |
ConstraintCollectors.countLongBi() |
static <A,B> BiConstraintCollector<A,B,?,Integer> |
ConstraintCollectors.sum(ToIntBiFunction<? super A,? super B> groupValueMapping) |
static <A,B> BiConstraintCollector<A,B,?,Long> |
ConstraintCollectors.sumLong(ToLongBiFunction<? super A,? super B> groupValueMapping) |
Modifier and Type | Method and Description |
---|---|
<GroupKey_,ResultContainer_,Result_> |
BiConstraintStream.groupBy(BiFunction<A,B,GroupKey_> groupKeyMapping,
BiConstraintCollector<A,B,ResultContainer_,Result_> collector) |
<GroupKeyA_,GroupKeyB_,ResultContainer_,Result_> |
BiConstraintStream.groupBy(BiFunction<A,B,GroupKeyA_> groupKeyAMapping,
BiFunction<A,B,GroupKeyB_> groupKeyBMapping,
BiConstraintCollector<A,B,ResultContainer_,Result_> collector) |
Modifier and Type | Method and Description |
---|---|
<GroupKey_,ResultContainer_,Result_> |
BavetAbstractBiConstraintStream.groupBy(BiFunction<A,B,GroupKey_> groupKeyMapping,
BiConstraintCollector<A,B,ResultContainer_,Result_> collector) |
<GroupKeyA_,GroupKeyB_,ResultContainer_,Result_> |
BavetAbstractBiConstraintStream.groupBy(BiFunction<A,B,GroupKeyA_> groupKeyAMapping,
BiFunction<A,B,GroupKeyB_> groupKeyBMapping,
BiConstraintCollector<A,B,ResultContainer_,Result_> collector) |
Modifier and Type | Class and Description |
---|---|
class |
DefaultBiConstraintCollector<A,B,ResultContainer_,Result_> |
Copyright © 2006–2019 JBoss by Red Hat. All rights reserved.