Record Class AutoconfigSearchSpace.GenerationLimits
java.lang.Object
java.lang.Record
es.urjc.etsii.grafo.autoconfig.service.AutoconfigSearchSpace.GenerationLimits
- Enclosing class:
AutoconfigSearchSpace
public static record AutoconfigSearchSpace.GenerationLimits(int treeDepth, int maxDerivationRepetition)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionGenerationLimits(int treeDepth, int maxDerivationRepetition) Creates an instance of aGenerationLimitsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intReturns the value of themaxDerivationRepetitionrecord component.final StringtoString()Returns a string representation of this record class.intReturns the value of thetreeDepthrecord component.
-
Constructor Details
-
GenerationLimits
public GenerationLimits(int treeDepth, int maxDerivationRepetition) Creates an instance of aGenerationLimitsrecord class.- Parameters:
treeDepth- the value for thetreeDepthrecord componentmaxDerivationRepetition- the value for themaxDerivationRepetitionrecord 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 with thecomparemethod from their corresponding wrapper classes. -
treeDepth
public int treeDepth()Returns the value of thetreeDepthrecord component.- Returns:
- the value of the
treeDepthrecord component
-
maxDerivationRepetition
public int maxDerivationRepetition()Returns the value of themaxDerivationRepetitionrecord component.- Returns:
- the value of the
maxDerivationRepetitionrecord component
-