Package icyllis.modernui.core
Class LocaleList
java.lang.Object
icyllis.modernui.core.LocaleList
LocaleList is an immutable list of
Locales, typically used to
keep an ordered list of user preferences for locales.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
LocaleList
Creates a newLocaleList.If two or more same locales are passed, the repeated locales will be dropped.
For empty lists of
Localeitems it is better to use, which returns a pre-constructed empty list.invalid reference
#getEmptyLocaleList()- Throws:
NullPointerException- if any of the input locales isnull.
-