Record Class AutoconfigSearchSpace.SearchSpaceSnapshot
java.lang.Object
java.lang.Record
es.urjc.etsii.grafo.autoconfig.service.AutoconfigSearchSpace.SearchSpaceSnapshot
- Enclosing class:
AutoconfigSearchSpace
public static record AutoconfigSearchSpace.SearchSpaceSnapshot(AutoconfigSearchSpace.GenerationLimits limits, AutoconfigSearchSpace.SearchSpaceSummary summary, List<String> roots, List<AutoconfigSearchSpace.ComponentDescription> components)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionSearchSpaceSnapshot(AutoconfigSearchSpace.GenerationLimits limits, AutoconfigSearchSpace.SearchSpaceSummary summary, List<String> roots, List<AutoconfigSearchSpace.ComponentDescription> components) Creates an instance of aSearchSpaceSnapshotrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecomponentsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.limits()Returns the value of thelimitsrecord component.roots()Returns the value of therootsrecord component.summary()Returns the value of thesummaryrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SearchSpaceSnapshot
public SearchSpaceSnapshot(AutoconfigSearchSpace.GenerationLimits limits, AutoconfigSearchSpace.SearchSpaceSummary summary, List<String> roots, List<AutoconfigSearchSpace.ComponentDescription> components) Creates an instance of aSearchSpaceSnapshotrecord class.- Parameters:
limits- the value for thelimitsrecord componentsummary- the value for thesummaryrecord componentroots- the value for therootsrecord componentcomponents- the value for thecomponentsrecord component
-
-
Method Details
-
toString
-
hashCode
-
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). -
limits
Returns the value of thelimitsrecord component.- Returns:
- the value of the
limitsrecord component
-
summary
Returns the value of thesummaryrecord component.- Returns:
- the value of the
summaryrecord component
-
roots
-
components
Returns the value of thecomponentsrecord component.- Returns:
- the value of the
componentsrecord component
-