Package gg.xp.xivsupport.timelines.intl
Record Class LanguageReplacements
java.lang.Object
java.lang.Record
gg.xp.xivsupport.timelines.intl.LanguageReplacements
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LanguageReplacementscombine(List<LanguageReplacements> all) @NotNull StringdoNameReplacement(@NotNull String input) @NotNull StringdoSyncReplacement(@NotNull String input) static LanguageReplacementsempty()final booleanIndicates whether some other object is "equal to" this one.static LanguageReplacementsfinal inthashCode()Returns a hash code value for this object.Returns the value of thereplaceSyncrecord component.Returns the value of thereplaceTextrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
LanguageReplacements
Creates an instance of aLanguageReplacementsrecord class.- Parameters:
replaceSync- the value for thereplaceSyncrecord componentreplaceText- the value for thereplaceTextrecord 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 thereplaceSyncrecord component.- Returns:
- the value of the
replaceSyncrecord component
-
replaceText
Returns the value of thereplaceTextrecord component.- Returns:
- the value of the
replaceTextrecord component
-