Record Class GizmoSolutionClonerImplementor.ClonerDescriptor
java.lang.Object
java.lang.Record
ai.timefold.solver.core.impl.domain.solution.cloner.gizmo.GizmoSolutionClonerImplementor.ClonerDescriptor
- Enclosing class:
- GizmoSolutionClonerImplementor
protected static record GizmoSolutionClonerImplementor.ClonerDescriptor(SolutionDescriptor<?> solutionDescriptor, Map<Class<?>,GizmoSolutionOrEntityDescriptor> memoizedSolutionOrEntityDescriptorMap, SortedSet<Class<?>> deepClonedClassesSortedSet, io.quarkus.gizmo2.creator.ClassCreator classCreator, io.quarkus.gizmo2.StaticFieldVar fallbackClonerField)
extends Record
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedClonerDescriptor(SolutionDescriptor<?> solutionDescriptor, Map<Class<?>, GizmoSolutionOrEntityDescriptor> memoizedSolutionOrEntityDescriptorMap, SortedSet<Class<?>> deepClonedClassesSortedSet, io.quarkus.gizmo2.creator.ClassCreator classCreator, io.quarkus.gizmo2.StaticFieldVar fallbackClonerField) Creates an instance of aClonerDescriptorrecord class. -
Method Summary
Modifier and TypeMethodDescriptionio.quarkus.gizmo2.creator.ClassCreatorReturns the value of theclassCreatorrecord component.Returns the value of thedeepClonedClassesSortedSetrecord component.final booleanIndicates whether some other object is "equal to" this one.io.quarkus.gizmo2.StaticFieldVarReturns the value of thefallbackClonerFieldrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thememoizedSolutionOrEntityDescriptorMaprecord component.Returns the value of thesolutionDescriptorrecord component.final StringtoString()Returns a string representation of this record class.withFallbackClonerField(io.quarkus.gizmo2.StaticFieldVar fallbackClonerField)
-
Constructor Details
-
ClonerDescriptor
protected ClonerDescriptor(SolutionDescriptor<?> solutionDescriptor, Map<Class<?>, GizmoSolutionOrEntityDescriptor> memoizedSolutionOrEntityDescriptorMap, SortedSet<Class<?>> deepClonedClassesSortedSet, io.quarkus.gizmo2.creator.ClassCreator classCreator, io.quarkus.gizmo2.StaticFieldVar fallbackClonerField) Creates an instance of aClonerDescriptorrecord class.- Parameters:
solutionDescriptor- the value for thesolutionDescriptorrecord componentmemoizedSolutionOrEntityDescriptorMap- the value for thememoizedSolutionOrEntityDescriptorMaprecord componentdeepClonedClassesSortedSet- the value for thedeepClonedClassesSortedSetrecord componentclassCreator- the value for theclassCreatorrecord componentfallbackClonerField- the value for thefallbackClonerFieldrecord component
-
-
Method Details
-
withFallbackClonerField
public GizmoSolutionClonerImplementor.ClonerDescriptor withFallbackClonerField(io.quarkus.gizmo2.StaticFieldVar fallbackClonerField) -
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). -
solutionDescriptor
Returns the value of thesolutionDescriptorrecord component.- Returns:
- the value of the
solutionDescriptorrecord component
-
memoizedSolutionOrEntityDescriptorMap
Returns the value of thememoizedSolutionOrEntityDescriptorMaprecord component.- Returns:
- the value of the
memoizedSolutionOrEntityDescriptorMaprecord component
-
deepClonedClassesSortedSet
Returns the value of thedeepClonedClassesSortedSetrecord component.- Returns:
- the value of the
deepClonedClassesSortedSetrecord component
-
classCreator
public io.quarkus.gizmo2.creator.ClassCreator classCreator()Returns the value of theclassCreatorrecord component.- Returns:
- the value of the
classCreatorrecord component
-
fallbackClonerField
public io.quarkus.gizmo2.StaticFieldVar fallbackClonerField()Returns the value of thefallbackClonerFieldrecord component.- Returns:
- the value of the
fallbackClonerFieldrecord component
-