Record Class BiNeighborhoodsJoinerComber<Solution_,A,B>
java.lang.Object
java.lang.Record
ai.timefold.solver.core.impl.neighborhood.stream.joiner.BiNeighborhoodsJoinerComber<Solution_,A,B>
- Type Parameters:
A-B-
@NullMarked
public record BiNeighborhoodsJoinerComber<Solution_,A,B> (DefaultBiNeighborhoodsJoiner<A,B> mergedJoiner, @Nullable BiNeighborhoodsPredicate<Solution_,A,B> mergedFiltering)
extends Record
Combs an array of
BiNeighborhoodsJoiner instances into a mergedJoiner and a mergedFiltering.-
Constructor Summary
ConstructorsConstructorDescriptionBiNeighborhoodsJoinerComber(DefaultBiNeighborhoodsJoiner<A, B> mergedJoiner, @Nullable BiNeighborhoodsPredicate<Solution_, A, B> mergedFiltering) Creates an instance of aBiNeighborhoodsJoinerComberrecord class. -
Method Summary
Modifier and TypeMethodDescriptionstatic <Solution_,A, B>
BiNeighborhoodsJoinerComber<Solution_,A, B> comb(BiNeighborhoodsJoiner<A, B>[] joiners) final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.@Nullable BiNeighborhoodsPredicate<Solution_,A, B> Returns the value of themergedFilteringrecord component.Returns the value of themergedJoinerrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
BiNeighborhoodsJoinerComber
public BiNeighborhoodsJoinerComber(DefaultBiNeighborhoodsJoiner<A, B> mergedJoiner, @Nullable BiNeighborhoodsPredicate<Solution_, A, B> mergedFiltering) Creates an instance of aBiNeighborhoodsJoinerComberrecord class.- Parameters:
mergedJoiner- the value for themergedJoinerrecord componentmergedFiltering- the value for themergedFilteringrecord component
-
-
Method Details
-
comb
public static <Solution_,A, BiNeighborhoodsJoinerComber<Solution_,B> A, combB> (BiNeighborhoodsJoiner<A, B>[] joiners) -
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
mergedJoiner
Returns the value of themergedJoinerrecord component.- Returns:
- the value of the
mergedJoinerrecord component
-
mergedFiltering
Returns the value of themergedFilteringrecord component.- Returns:
- the value of the
mergedFilteringrecord component
-