Package hiiragi283.core.common.text
Enum HCTranslation
-
- All Implemented Interfaces:
-
hiiragi283.core.api.text.HTHasTranslationKey,hiiragi283.core.api.text.HTTranslation,java.io.Serializable,kotlin.Comparable
public enum HCTranslation extends Enum<HCTranslation> implements HTTranslation
-
-
Field Summary
Fields Modifier and Type Field Description private final StringtranslationKeyprivate final Stringnameprivate final Integerordinalprivate final EnumEntries<HCTranslation>entries
-
Enum Constant Summary
-
Method Summary
Modifier and Type Method Description final Array<HCTranslation>values()Returns an array containing the constants of this enum type, in the order they're declared. final HCTranslationvalueOf(String value)Returns the enum constant of this type with the specified name. StringgetTranslationKey()final StringgetName()final IntegergetOrdinal()final EnumEntries<HCTranslation>getEntries()-
-
Method Detail
-
values
final Array<HCTranslation> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
valueOf
final HCTranslation valueOf(String value)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
-
getTranslationKey
String getTranslationKey()
-
getOrdinal
final Integer getOrdinal()
-
getEntries
final EnumEntries<HCTranslation> getEntries()
-
-
-
-