Record Class GuiGeneratedContent.QuotePart
java.lang.Object
java.lang.Record
com.render.api.gui.GuiGeneratedContent.QuotePart
- All Implemented Interfaces:
GuiGeneratedContent.Part
- Enclosing class:
GuiGeneratedContent
public static record GuiGeneratedContent.QuotePart(GuiGeneratedContent.Quote quote)
extends Record
implements GuiGeneratedContent.Part
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of aQuotePartrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.quote()Returns the value of thequoterecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
QuotePart
Creates an instance of aQuotePartrecord class.- Parameters:
quote- the value for thequoterecord 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). -
quote
Returns the value of thequoterecord component.- Returns:
- the value of the
quoterecord component
-