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
-
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
Locale
items it is better to useinvalid reference
#getEmptyLocaleList()
- Throws:
NullPointerException
- if any of the input locales isnull
.
-