Uses of Interface
org.optaplanner.core.api.score.stream.bi.BiJoiner
-
Packages that use BiJoiner Package Description org.optaplanner.core.api.score.stream org.optaplanner.core.api.score.stream.bi TheConstraintStream
API for bi-tuples.org.optaplanner.core.api.score.stream.uni TheConstraintStream
API for uni-tuples.org.optaplanner.core.impl.score.stream -
-
Uses of BiJoiner in org.optaplanner.core.api.score.stream
Methods in org.optaplanner.core.api.score.stream that return BiJoiner Modifier and Type Method Description static <A> BiJoiner<A,A>
Joiners. equal()
As defined byJoiners.equal(Function)
withFunction.identity()
as the argument.static <A,Property_>
BiJoiner<A,A>Joiners. equal(Function<A,Property_> mapping)
As defined byJoiners.equal(Function, Function)
with both arguments using the same mapping.static <A,B,Property_>
BiJoiner<A,B>Joiners. equal(Function<A,Property_> leftMapping, Function<B,Property_> rightMapping)
Joins every A and B that share a property.static <A,B>
BiJoiner<A,B>Joiners. filtering(BiPredicate<A,B> filter)
Applies a filter to the joined tuple, with the semantics ofBiConstraintStream.filter(BiPredicate)
.static <A,Property_ extends Comparable<Property_>>
BiJoiner<A,A>Joiners. greaterThan(Function<A,Property_> mapping)
As defined byJoiners.greaterThan(Function, Function)
with both arguments using the same mapping.static <A,B,Property_ extends Comparable<Property_>>
BiJoiner<A,B>Joiners. greaterThan(Function<A,Property_> leftMapping, Function<B,Property_> rightMapping)
Joins every A and B where a value of property on A is greater than the value of a property on B.static <A,Property_ extends Comparable<Property_>>
BiJoiner<A,A>Joiners. greaterThanOrEqual(Function<A,Property_> mapping)
As defined byJoiners.greaterThanOrEqual(Function, Function)
with both arguments using the same mapping.static <A,B,Property_ extends Comparable<Property_>>
BiJoiner<A,B>Joiners. greaterThanOrEqual(Function<A,Property_> leftMapping, Function<B,Property_> rightMapping)
Joins every A and B where a value of property on A is greater than or equal to the value of a property on B.static <A,Property_ extends Comparable<Property_>>
BiJoiner<A,A>Joiners. lessThan(Function<A,Property_> mapping)
As defined byJoiners.lessThan(Function, Function)
with both arguments using the same mapping.static <A,B,Property_ extends Comparable<Property_>>
BiJoiner<A,B>Joiners. lessThan(Function<A,Property_> leftMapping, Function<B,Property_> rightMapping)
Joins every A and B where a value of property on A is less than the value of a property on B.static <A,Property_ extends Comparable<Property_>>
BiJoiner<A,A>Joiners. lessThanOrEqual(Function<A,Property_> mapping)
As defined byJoiners.lessThanOrEqual(Function, Function)
with both arguments using the same mapping.static <A,B,Property_ extends Comparable<Property_>>
BiJoiner<A,B>Joiners. lessThanOrEqual(Function<A,Property_> leftMapping, Function<B,Property_> rightMapping)
Joins every A and B where a value of property on A is less than or equal to the value of a property on B.static <A,Property_ extends Comparable<Property_>>
BiJoiner<A,A>Joiners. overlapping(Function<A,Property_> startMapping, Function<A,Property_> endMapping)
Joins every A and B that overlap for an interval which is specified by a start and end property on both A and B.static <A,B,Property_ extends Comparable<Property_>>
BiJoiner<A,B>Joiners. overlapping(Function<A,Property_> leftStartMapping, Function<A,Property_> leftEndMapping, Function<B,Property_> rightStartMapping, Function<B,Property_> rightEndMapping)
As defined byJoiners.overlapping(Function, Function)
.Methods in org.optaplanner.core.api.score.stream with parameters of type BiJoiner Modifier and Type Method Description default <A> BiConstraintStream<A,A>
ConstraintFactory. forEachUniquePair(Class<A> sourceClass, BiJoiner<A,A> joiner)
Create a newBiConstraintStream
for every unique combination of A and another A with a higherPlanningId
for which theBiJoiner
is true (for the properties it extracts from both facts).<A> BiConstraintStream<A,A>
ConstraintFactory. forEachUniquePair(Class<A> sourceClass, BiJoiner<A,A>... joiners)
As defined byConstraintFactory.forEachUniquePair(Class, BiJoiner)
.default <A> BiConstraintStream<A,A>
ConstraintFactory. forEachUniquePair(Class<A> sourceClass, BiJoiner<A,A> joiner1, BiJoiner<A,A> joiner2)
As defined byConstraintFactory.forEachUniquePair(Class, BiJoiner)
.default <A> BiConstraintStream<A,A>
ConstraintFactory. forEachUniquePair(Class<A> sourceClass, BiJoiner<A,A> joiner1, BiJoiner<A,A> joiner2, BiJoiner<A,A> joiner3)
As defined byConstraintFactory.forEachUniquePair(Class, BiJoiner)
.default <A> BiConstraintStream<A,A>
ConstraintFactory. forEachUniquePair(Class<A> sourceClass, BiJoiner<A,A> joiner1, BiJoiner<A,A> joiner2, BiJoiner<A,A> joiner3, BiJoiner<A,A> joiner4)
As defined byConstraintFactory.forEachUniquePair(Class, BiJoiner)
.default <A> BiConstraintStream<A,A>
ConstraintFactory. fromUniquePair(Class<A> fromClass, BiJoiner<A,A> joiner)
Deprecated, for removal: This API element is subject to removal in a future version.PreferConstraintFactory.forEachUniquePair(Class, BiJoiner)
, which exhibits the same behavior for both nullable and non-nullable planning variables.<A> BiConstraintStream<A,A>
ConstraintFactory. fromUniquePair(Class<A> fromClass, BiJoiner<A,A>... joiners)
Deprecated, for removal: This API element is subject to removal in a future version.PreferConstraintFactory.forEachUniquePair(Class, BiJoiner...)
, which exhibits the same behavior for both nullable and non-nullable planning variables.default <A> BiConstraintStream<A,A>
ConstraintFactory. fromUniquePair(Class<A> fromClass, BiJoiner<A,A> joiner1, BiJoiner<A,A> joiner2)
Deprecated, for removal: This API element is subject to removal in a future version.PreferConstraintFactory.forEachUniquePair(Class, BiJoiner, BiJoiner)
, which exhibits the same behavior for both nullable and non-nullable planning variables.default <A> BiConstraintStream<A,A>
ConstraintFactory. fromUniquePair(Class<A> fromClass, BiJoiner<A,A> joiner1, BiJoiner<A,A> joiner2, BiJoiner<A,A> joiner3)
Deprecated, for removal: This API element is subject to removal in a future version.PreferConstraintFactory.forEachUniquePair(Class, BiJoiner, BiJoiner, BiJoiner)
, which exhibits the same behavior for both nullable and non-nullable planning variables.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)
Deprecated, for removal: This API element is subject to removal in a future version.PreferConstraintFactory.forEachUniquePair(Class, BiJoiner, BiJoiner, BiJoiner, BiJoiner)
, which exhibits the same behavior for both nullable and non-nullable planning variables. -
Uses of BiJoiner in org.optaplanner.core.api.score.stream.bi
Methods in org.optaplanner.core.api.score.stream.bi that return BiJoiner Modifier and Type Method Description BiJoiner<A,B>
BiJoiner. and(BiJoiner<A,B> otherJoiner)
Methods in org.optaplanner.core.api.score.stream.bi with parameters of type BiJoiner Modifier and Type Method Description BiJoiner<A,B>
BiJoiner. and(BiJoiner<A,B> otherJoiner)
-
Uses of BiJoiner in org.optaplanner.core.api.score.stream.uni
Methods in org.optaplanner.core.api.score.stream.uni with parameters of type BiJoiner Modifier and Type Method Description default <B> UniConstraintStream<A>
UniConstraintStream. ifExists(Class<B> otherClass, BiJoiner<A,B> joiner)
Create a newUniConstraintStream
for every A where B exists for which theBiJoiner
is true (for the properties it extracts from both facts).<B> UniConstraintStream<A>
UniConstraintStream. ifExists(Class<B> otherClass, BiJoiner<A,B>... joiners)
As defined byUniConstraintStream.ifExists(Class, BiJoiner)
.default <B> UniConstraintStream<A>
UniConstraintStream. ifExists(Class<B> otherClass, BiJoiner<A,B> joiner1, BiJoiner<A,B> joiner2)
As defined byUniConstraintStream.ifExists(Class, BiJoiner)
.default <B> UniConstraintStream<A>
UniConstraintStream. ifExists(Class<B> otherClass, BiJoiner<A,B> joiner1, BiJoiner<A,B> joiner2, BiJoiner<A,B> joiner3)
As defined byUniConstraintStream.ifExists(Class, BiJoiner)
.default <B> UniConstraintStream<A>
UniConstraintStream. ifExists(Class<B> otherClass, BiJoiner<A,B> joiner1, BiJoiner<A,B> joiner2, BiJoiner<A,B> joiner3, BiJoiner<A,B> joiner4)
As defined byUniConstraintStream.ifExists(Class, BiJoiner)
.default <B> UniConstraintStream<A>
UniConstraintStream. ifExistsIncludingNullVars(Class<B> otherClass, BiJoiner<A,B> joiner)
Create a newUniConstraintStream
for every A where B exists for which theBiJoiner
is true (for the properties it extracts from both facts).<B> UniConstraintStream<A>
UniConstraintStream. ifExistsIncludingNullVars(Class<B> otherClass, BiJoiner<A,B>... joiners)
default <B> UniConstraintStream<A>
UniConstraintStream. ifExistsIncludingNullVars(Class<B> otherClass, BiJoiner<A,B> joiner1, BiJoiner<A,B> joiner2)
default <B> UniConstraintStream<A>
UniConstraintStream. ifExistsIncludingNullVars(Class<B> otherClass, BiJoiner<A,B> joiner1, BiJoiner<A,B> joiner2, BiJoiner<A,B> joiner3)
default <B> UniConstraintStream<A>
UniConstraintStream. ifExistsIncludingNullVars(Class<B> otherClass, BiJoiner<A,B> joiner1, BiJoiner<A,B> joiner2, BiJoiner<A,B> joiner3, BiJoiner<A,B> joiner4)
default UniConstraintStream<A>
UniConstraintStream. ifExistsOther(Class<A> otherClass, BiJoiner<A,A> joiner)
Create a newUniConstraintStream
for every A, if another A exists that does notObject.equals(Object)
the first, and for which theBiJoiner
is true (for the properties it extracts from both facts).default UniConstraintStream<A>
UniConstraintStream. ifExistsOther(Class<A> otherClass, BiJoiner<A,A>... joiners)
As defined byUniConstraintStream.ifExistsOther(Class, BiJoiner)
.default UniConstraintStream<A>
UniConstraintStream. ifExistsOther(Class<A> otherClass, BiJoiner<A,A> joiner1, BiJoiner<A,A> joiner2)
As defined byUniConstraintStream.ifExistsOther(Class, BiJoiner)
.default UniConstraintStream<A>
UniConstraintStream. ifExistsOther(Class<A> otherClass, BiJoiner<A,A> joiner1, BiJoiner<A,A> joiner2, BiJoiner<A,A> joiner3)
As defined byUniConstraintStream.ifExistsOther(Class, BiJoiner)
.default UniConstraintStream<A>
UniConstraintStream. ifExistsOther(Class<A> otherClass, BiJoiner<A,A> joiner1, BiJoiner<A,A> joiner2, BiJoiner<A,A> joiner3, BiJoiner<A,A> joiner4)
As defined byUniConstraintStream.ifExistsOther(Class, BiJoiner)
.default UniConstraintStream<A>
UniConstraintStream. ifExistsOtherIncludingNullVars(Class<A> otherClass, BiJoiner<A,A> joiner)
Create a newUniConstraintStream
for every A, if another A exists that does notObject.equals(Object)
the first, and for which theBiJoiner
is true (for the properties it extracts from both facts).default UniConstraintStream<A>
UniConstraintStream. ifExistsOtherIncludingNullVars(Class<A> otherClass, BiJoiner<A,A>... joiners)
default UniConstraintStream<A>
UniConstraintStream. ifExistsOtherIncludingNullVars(Class<A> otherClass, BiJoiner<A,A> joiner1, BiJoiner<A,A> joiner2)
As defined byUniConstraintStream.ifExistsOther(Class, BiJoiner)
.default UniConstraintStream<A>
UniConstraintStream. ifExistsOtherIncludingNullVars(Class<A> otherClass, BiJoiner<A,A> joiner1, BiJoiner<A,A> joiner2, BiJoiner<A,A> joiner3)
default UniConstraintStream<A>
UniConstraintStream. ifExistsOtherIncludingNullVars(Class<A> otherClass, BiJoiner<A,A> joiner1, BiJoiner<A,A> joiner2, BiJoiner<A,A> joiner3, BiJoiner<A,A> joiner4)
default <B> UniConstraintStream<A>
UniConstraintStream. ifNotExists(Class<B> otherClass, BiJoiner<A,B> joiner)
Create a newUniConstraintStream
for every A where B does not exist for which theBiJoiner
is true (for the properties it extracts from both facts).<B> UniConstraintStream<A>
UniConstraintStream. ifNotExists(Class<B> otherClass, BiJoiner<A,B>... joiners)
As defined byUniConstraintStream.ifNotExists(Class, BiJoiner)
.default <B> UniConstraintStream<A>
UniConstraintStream. ifNotExists(Class<B> otherClass, BiJoiner<A,B> joiner1, BiJoiner<A,B> joiner2)
As defined byUniConstraintStream.ifNotExists(Class, BiJoiner)
.default <B> UniConstraintStream<A>
UniConstraintStream. ifNotExists(Class<B> otherClass, BiJoiner<A,B> joiner1, BiJoiner<A,B> joiner2, BiJoiner<A,B> joiner3)
As defined byUniConstraintStream.ifNotExists(Class, BiJoiner)
.default <B> UniConstraintStream<A>
UniConstraintStream. ifNotExists(Class<B> otherClass, BiJoiner<A,B> joiner1, BiJoiner<A,B> joiner2, BiJoiner<A,B> joiner3, BiJoiner<A,B> joiner4)
As defined byUniConstraintStream.ifNotExists(Class, BiJoiner)
.default <B> UniConstraintStream<A>
UniConstraintStream. ifNotExistsIncludingNullVars(Class<B> otherClass, BiJoiner<A,B> joiner)
Create a newUniConstraintStream
for every A where B does not exist for which theBiJoiner
is true (for the properties it extracts from both facts).<B> UniConstraintStream<A>
UniConstraintStream. ifNotExistsIncludingNullVars(Class<B> otherClass, BiJoiner<A,B>... joiners)
default <B> UniConstraintStream<A>
UniConstraintStream. ifNotExistsIncludingNullVars(Class<B> otherClass, BiJoiner<A,B> joiner1, BiJoiner<A,B> joiner2)
default <B> UniConstraintStream<A>
UniConstraintStream. ifNotExistsIncludingNullVars(Class<B> otherClass, BiJoiner<A,B> joiner1, BiJoiner<A,B> joiner2, BiJoiner<A,B> joiner3)
default <B> UniConstraintStream<A>
UniConstraintStream. ifNotExistsIncludingNullVars(Class<B> otherClass, BiJoiner<A,B> joiner1, BiJoiner<A,B> joiner2, BiJoiner<A,B> joiner3, BiJoiner<A,B> joiner4)
default UniConstraintStream<A>
UniConstraintStream. ifNotExistsOther(Class<A> otherClass, BiJoiner<A,A> joiner)
Create a newUniConstraintStream
for every A, if no other A exists that does notObject.equals(Object)
the first, and for which theBiJoiner
is true (for the properties it extracts from both facts).default UniConstraintStream<A>
UniConstraintStream. ifNotExistsOther(Class<A> otherClass, BiJoiner<A,A>... joiners)
As defined byUniConstraintStream.ifNotExistsOther(Class, BiJoiner)
.default UniConstraintStream<A>
UniConstraintStream. ifNotExistsOther(Class<A> otherClass, BiJoiner<A,A> joiner1, BiJoiner<A,A> joiner2)
As defined byUniConstraintStream.ifNotExistsOther(Class, BiJoiner)
.default UniConstraintStream<A>
UniConstraintStream. ifNotExistsOther(Class<A> otherClass, BiJoiner<A,A> joiner1, BiJoiner<A,A> joiner2, BiJoiner<A,A> joiner3)
As defined byUniConstraintStream.ifNotExistsOther(Class, BiJoiner)
.default UniConstraintStream<A>
UniConstraintStream. ifNotExistsOther(Class<A> otherClass, BiJoiner<A,A> joiner1, BiJoiner<A,A> joiner2, BiJoiner<A,A> joiner3, BiJoiner<A,A> joiner4)
As defined byUniConstraintStream.ifNotExistsOther(Class, BiJoiner)
.default UniConstraintStream<A>
UniConstraintStream. ifNotExistsOtherIncludingNullVars(Class<A> otherClass, BiJoiner<A,A> joiner)
Create a newUniConstraintStream
for every A, if no other A exists that does notObject.equals(Object)
the first, and for which theBiJoiner
is true (for the properties it extracts from both facts).default UniConstraintStream<A>
UniConstraintStream. ifNotExistsOtherIncludingNullVars(Class<A> otherClass, BiJoiner<A,A>... joiners)
default UniConstraintStream<A>
UniConstraintStream. ifNotExistsOtherIncludingNullVars(Class<A> otherClass, BiJoiner<A,A> joiner1, BiJoiner<A,A> joiner2)
default UniConstraintStream<A>
UniConstraintStream. ifNotExistsOtherIncludingNullVars(Class<A> otherClass, BiJoiner<A,A> joiner1, BiJoiner<A,A> joiner2, BiJoiner<A,A> joiner3)
default UniConstraintStream<A>
UniConstraintStream. ifNotExistsOtherIncludingNullVars(Class<A> otherClass, BiJoiner<A,A> joiner1, BiJoiner<A,A> joiner2, BiJoiner<A,A> joiner3, BiJoiner<A,A> joiner4)
default <B> BiConstraintStream<A,B>
UniConstraintStream. join(Class<B> otherClass, BiJoiner<A,B> joiner)
Create a newBiConstraintStream
for every combination of A and B for which theBiJoiner
is true (for the properties it extracts from both facts).<B> BiConstraintStream<A,B>
UniConstraintStream. join(Class<B> otherClass, BiJoiner<A,B>... joiners)
As defined byUniConstraintStream.join(Class, BiJoiner)
.default <B> BiConstraintStream<A,B>
UniConstraintStream. join(Class<B> otherClass, BiJoiner<A,B> joiner1, BiJoiner<A,B> joiner2)
As defined byUniConstraintStream.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 byUniConstraintStream.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 byUniConstraintStream.join(Class, BiJoiner)
.default <B> BiConstraintStream<A,B>
UniConstraintStream. join(UniConstraintStream<B> otherStream, BiJoiner<A,B> joiner)
Create a newBiConstraintStream
for every combination of A and B for which theBiJoiner
is true (for the properties it extracts from both facts).<B> BiConstraintStream<A,B>
UniConstraintStream. join(UniConstraintStream<B> otherStream, BiJoiner<A,B>... joiners)
As defined byUniConstraintStream.join(UniConstraintStream, BiJoiner)
.default <B> BiConstraintStream<A,B>
UniConstraintStream. join(UniConstraintStream<B> otherStream, BiJoiner<A,B> joiner1, BiJoiner<A,B> joiner2)
As defined byUniConstraintStream.join(UniConstraintStream, BiJoiner)
.default <B> BiConstraintStream<A,B>
UniConstraintStream. join(UniConstraintStream<B> otherStream, BiJoiner<A,B> joiner1, BiJoiner<A,B> joiner2, BiJoiner<A,B> joiner3)
As defined byUniConstraintStream.join(UniConstraintStream, BiJoiner)
.default <B> BiConstraintStream<A,B>
UniConstraintStream. join(UniConstraintStream<B> otherStream, BiJoiner<A,B> joiner1, BiJoiner<A,B> joiner2, BiJoiner<A,B> joiner3, BiJoiner<A,B> joiner4)
As defined byUniConstraintStream.join(UniConstraintStream, BiJoiner)
. -
Uses of BiJoiner in org.optaplanner.core.impl.score.stream
Methods in org.optaplanner.core.impl.score.stream that return BiJoiner Modifier and Type Method Description <A,B>
BiJoiner<A,B>JoinerService. newBiJoiner(BiPredicate<A,B> filter)
<A,B,Property_>
BiJoiner<A,B>JoinerService. newBiJoiner(Function<A,Property_> leftMapping, JoinerType joinerType, Function<B,Property_> rightMapping)
-