Record Class AggregatedTupleLifecycle<Tuple_ extends Tuple>
java.lang.Object
java.lang.Record
ai.timefold.solver.core.impl.bavet.common.tuple.AggregatedTupleLifecycle<Tuple_>
- All Implemented Interfaces:
TupleLifecycle<Tuple_>
public record AggregatedTupleLifecycle<Tuple_ extends Tuple>(TupleLifecycle<Tuple_ extends Tuple>[] lifecycles)
extends Record
implements TupleLifecycle<Tuple_>
-
Constructor Summary
ConstructorsConstructorDescriptionAggregatedTupleLifecycle(TupleLifecycle<Tuple_>... lifecycles) Creates an instance of aAggregatedTupleLifecyclerecord class. -
Method Summary
-
Constructor Details
-
AggregatedTupleLifecycle
Creates an instance of aAggregatedTupleLifecyclerecord class.- Parameters:
lifecycles- the value for thelifecyclesrecord component
-
-
Method Details
-
insert
- Specified by:
insertin interfaceTupleLifecycle<Tuple_ extends Tuple>
-
update
- Specified by:
updatein interfaceTupleLifecycle<Tuple_ extends Tuple>
-
retract
- Specified by:
retractin interfaceTupleLifecycle<Tuple_ extends Tuple>
-
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). -
hashCode
public int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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. -
lifecycles
Returns the value of thelifecyclesrecord component.- Returns:
- the value of the
lifecyclesrecord component
-