Record Class ComponentResourcesBuilder.GroupElement
java.lang.Object
java.lang.Record
generation.builders.ComponentResourcesBuilder.GroupElement
- Enclosing class:
ComponentResourcesBuilder
-
Constructor Summary
ConstructorsConstructorDescriptionGroupElement
(String data) Creates an instance of aGroupElement
record class. -
Method Summary
-
Constructor Details
-
GroupElement
Creates an instance of aGroupElement
record class.- Parameters:
data
- the value for thedata
record 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)
. -
data
Returns the value of thedata
record component.- Returns:
- the value of the
data
record component
-