Record Class TreeNode
java.lang.Object
java.lang.Record
es.urjc.etsii.grafo.autoconfig.generator.TreeNode
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionchildren()Returns the value of thechildrenrecord component.Class<?> clazz()Returns the value of theclazzrecord component.Returns the value of thecombinationsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theparamNamerecord component.toString()Returns a string representation of this record class.
-
Constructor Details
-
TreeNode
public TreeNode(String paramName, Class<?> clazz, Map<String, List<TreeNode>> children, Map<String, CombinationTree> combinations) Creates an instance of aTreeNoderecord class.- Parameters:
paramName- the value for theparamNamerecord componentclazz- the value for theclazzrecord componentchildren- the value for thechildrenrecord componentcombinations- the value for thecombinationsrecord component
-
TreeNode
-
-
Method Details
-
className
-
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). -
paramName
Returns the value of theparamNamerecord component.- Returns:
- the value of the
paramNamerecord component
-
clazz
Returns the value of theclazzrecord component.- Returns:
- the value of the
clazzrecord component
-
children
-
combinations
Returns the value of thecombinationsrecord component.- Returns:
- the value of the
combinationsrecord component
-