Class CountryCode

java.lang.Object
org.midheaven.culture.CountryCode

public final class CountryCode extends Object
Represents Country Code.
  • Method Details

    • parse

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

      public static Sequence<CountryCode> 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
    • speaking

      public Culture speaking(LanguageCode languageCode)
      Performs speaking.
      Parameters:
      languageCode - the languageCode value
      Returns:
      the result of speaking