Record Class Extra
java.lang.Object
java.lang.Record
com.zenith.feature.queue.mcping.rawData.Extra
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbold()Returns the value of theboldrecord component.color()Returns the value of thecolorrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.text()Returns the value of thetextrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Extra
-
-
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. -
color
Returns the value of thecolorrecord component.- Returns:
- the value of the
colorrecord component
-
bold
public boolean bold()Returns the value of theboldrecord component.- Returns:
- the value of the
boldrecord component
-
text
Returns the value of thetextrecord component.- Returns:
- the value of the
textrecord component
-