Record Class RootElement
java.lang.Object
java.lang.Record
dev.pfaff.altargui.internal.elements.RootElement
-
Constructor Summary
ConstructorsConstructorDescriptionRootElement
(long key) Creates an instance of aRootElement
record class.RootElement
(String key) -
Method Summary
-
Constructor Details
-
RootElement
-
RootElement
public RootElement(long key) Creates an instance of aRootElement
record class.- Parameters:
key
- the value for thekey
record component
-
-
Method Details
-
toString
-
toStringShort
- Specified by:
toStringShort
in interfaceIElement
-
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 '=='. -
key
-