Class LanguageDialog.Lang

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.Locale locale  
    • Constructor Summary

      Constructors 
      Constructor Description
      Lang​(java.lang.String lang)
      Creates a new Lang object.
      Lang​(java.util.Locale l)
      Creates a new Lang object.
    • Field Detail

      • locale

        protected java.util.Locale locale
    • Constructor Detail

      • Lang

        public Lang​(java.lang.String lang)
        Creates a new Lang object.
      • Lang

        public Lang​(java.util.Locale l)
        Creates a new Lang object.
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
        See Also:
        Object.toString()
      • compareTo

        public int compareTo​(LanguageDialog.Lang o)
        Compares the String representations.
        Specified by:
        compareTo in interface java.lang.Comparable<LanguageDialog.Lang>
        See Also:
        Comparable.compareTo(java.lang.Object)
      • equals

        public boolean equals​(java.lang.Object o)
        Compares the languages
        Overrides:
        equals in class java.lang.Object
        See Also:
        Object.equals(java.lang.Object)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
        See Also:
        Object.hashCode()