Package org.midheaven.culture
Class LanguageCode
java.lang.Object
org.midheaven.culture.LanguageCode
Represents Language Code.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final LanguageCodeArabicstatic final LanguageCodeBengalistatic final LanguageCodeEnglishstatic final LanguageCodeSpanishstatic final LanguageCodeHindistatic final LanguageCodeJapanesestatic final LanguageCodePunjabistatic final LanguageCodePortuguesestatic final LanguageCodeRussianstatic final LanguageCodeChinese -
Method Summary
Modifier and TypeMethodDescriptionstatic Sequence<LanguageCode> all()Performs all.culture()Performs culture.booleanPerforms equals.inthashCode()Checks whether hash Code.in(CountryCode countryCode) Performs in.isoCode()Checks whether iso Code.static LanguageCodeParses the provided value.toString()Returns to String.
-
Field Details
-
AR
Arabic -
BN
Bengali -
EN
English -
ES
Spanish -
HI
Hindi -
JA
Japanese -
PA
Punjabi -
PT
Portuguese -
RU
Russian -
ZH
Chinese
-
-
Method Details
-
parse
Parses the provided value.- Parameters:
code- the code value- Returns:
- the result of parse
-
all
Performs all.- Returns:
- the result of all
-
isoCode
Checks whether iso Code.- Returns:
- the result of isoCode
-
toString
Returns to String. -
equals
Performs equals. -
hashCode
public int hashCode()Checks whether hash Code. -
in
Performs in.- Parameters:
countryCode- the countryCode value- Returns:
- the result of in
-
culture
Performs culture.- Returns:
- the result of culture
-