Modifier and Type | Field and Description |
---|---|
private boolean |
bidirectional |
private java.util.Locale |
javaLocale |
private java.lang.String |
languageCode |
private java.lang.String |
name |
private java.lang.String |
region |
Constructor and Description |
---|
Language(java.lang.String languageCodeIn,
java.lang.String regionIn,
java.lang.String nameIn,
boolean bidirectionalIn) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Language p_compareTo_1_) |
boolean |
equals(java.lang.Object p_equals_1_) |
java.lang.String |
getCode() |
java.util.Locale |
getJavaLocale() |
java.lang.String |
getName() |
java.lang.String |
getRegion() |
int |
hashCode() |
boolean |
isBidirectional() |
java.lang.String |
toString() |
private final java.lang.String languageCode
private final java.lang.String region
private final java.lang.String name
private final boolean bidirectional
private final java.util.Locale javaLocale
public Language(java.lang.String languageCodeIn, java.lang.String regionIn, java.lang.String nameIn, boolean bidirectionalIn)
public java.lang.String getCode()
getCode
in interface com.mojang.bridge.game.Language
public java.lang.String getName()
getName
in interface com.mojang.bridge.game.Language
public java.lang.String getRegion()
getRegion
in interface com.mojang.bridge.game.Language
public boolean isBidirectional()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object p_equals_1_)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(Language p_compareTo_1_)
compareTo
in interface java.lang.Comparable<Language>
public java.util.Locale getJavaLocale()