Class LanguageCode

java.lang.Object
org.midheaven.culture.LanguageCode

public final class LanguageCode extends Object
Represents Language Code.
  • Field Details

  • Method Details

    • parse

      public static LanguageCode parse(String code)
      Parses the provided value.
      Parameters:
      code - the code value
      Returns:
      the result of parse
    • all

      public static Sequence<LanguageCode> all()
      Performs all.
      Returns:
      the result of all
    • isoCode

      public String isoCode()
      Checks whether iso Code.
      Returns:
      the result of isoCode
    • toString

      public String toString()
      Returns to String.
      Overrides:
      toString in class Object
      Returns:
      the result of toString
    • equals

      public boolean equals(Object other)
      Performs equals.
      Overrides:
      equals in class Object
      Parameters:
      other - the other value
      Returns:
      the result of equals
    • hashCode

      public int hashCode()
      Checks whether hash Code.
      Overrides:
      hashCode in class Object
      Returns:
      the result of hashCode
    • in

      public Culture in(CountryCode countryCode)
      Performs in.
      Parameters:
      countryCode - the countryCode value
      Returns:
      the result of in
    • culture

      public Culture culture()
      Performs culture.
      Returns:
      the result of culture