Package gg.xp.xivsupport.timelines.intl
Record Class LanguageReplacements
java.lang.Object
java.lang.Record
gg.xp.xivsupport.timelines.intl.LanguageReplacements
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic LanguageReplacements
combine
(List<LanguageReplacements> all) @NotNull String
doNameReplacement
(@NotNull String input) @NotNull String
doSyncReplacement
(@NotNull String input) static LanguageReplacements
empty()
final boolean
Indicates whether some other object is "equal to" this one.static LanguageReplacements
final int
hashCode()
Returns a hash code value for this object.Returns the value of thereplaceSync
record component.Returns the value of thereplaceText
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
LanguageReplacements
Creates an instance of aLanguageReplacements
record class.- Parameters:
replaceSync
- the value for thereplaceSync
record componentreplaceText
- the value for thereplaceText
record component
-
-
Method Details
-
fromRaw
-
sortedReplaceSync
-
sortedReplaceText
-
doNameReplacement
-
doSyncReplacement
-
empty
-
combine
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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)
. -
replaceSync
Returns the value of thereplaceSync
record component.- Returns:
- the value of the
replaceSync
record component
-
replaceText
Returns the value of thereplaceText
record component.- Returns:
- the value of the
replaceText
record component
-