Record Class CombinationNode
java.lang.Object
java.lang.Record
es.urjc.etsii.grafo.autoconfig.generator.CombinationNode
- Record Components:
position- zero-based positionchoices- valid component choices for the current prefix
One position in an ordered component combination.
-
Constructor Summary
ConstructorsConstructorDescriptionCombinationNode(int position, List<CombinationChoice> choices) Creates an instance of aCombinationNoderecord class. -
Method Summary
Modifier and TypeMethodDescriptionchoices()Returns the value of thechoicesrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intposition()Returns the value of thepositionrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
position
-
choices
-