Record Class MessageRenderer.BadFormat
java.lang.Object
java.lang.Record
com.ultikits.ultitools.text.internal.MessageRenderer.BadFormat
- Enclosing class:
MessageRenderer
private static record MessageRenderer.BadFormat(MessageKey key, Locale locale, String argument)
extends Record
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateBadFormat(MessageKey key, Locale locale, String argument) Creates an instance of aBadFormatrecord class. -
Method Summary
Modifier and TypeMethodDescriptionargument()Returns the value of theargumentrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.key()Returns the value of thekeyrecord component.locale()Returns the value of thelocalerecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
key
The field for thekeyrecord component. -
locale
The field for thelocalerecord component. -
argument
The field for theargumentrecord component.
-
-
Constructor Details
-
BadFormat
Creates an instance of aBadFormatrecord class.- Parameters:
key- the value for thekeyrecord componentlocale- the value for thelocalerecord componentargument- the value for theargumentrecord 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). -
key
Returns the value of thekeyrecord component.- Returns:
- the value of the
keyrecord component
-
locale
Returns the value of thelocalerecord component.- Returns:
- the value of the
localerecord component
-
argument
Returns the value of theargumentrecord component.- Returns:
- the value of the
argumentrecord component
-