LocaleList
-
Cmn
class LocaleList : Collection
Defines a list of Locale objects.
Summary
Public companion properties |
||
|---|---|---|
LocaleList |
An empty instance of |
Cmn
|
LocaleList |
Returns Locale object which represents current locale |
Cmn
|
Public constructors |
|
|---|---|
LocaleList(languageTags: String)Create a |
Cmn
|
LocaleList(localeList: List<Locale>) |
Cmn
|
LocaleList(vararg locales: Locale)Creates a |
Cmn
|
Public functions |
||
|---|---|---|
open operator Boolean |
Cmn
|
|
open Boolean |
containsAll(elements: Collection<Locale>) |
Cmn
|
open operator Boolean |
Cmn
|
|
operator Locale |
Cmn
|
|
open Int |
hashCode() |
Cmn
|
open Boolean |
isEmpty() |
Cmn
|
open operator Iterator<Locale> |
iterator() |
Cmn
|
open String |
toString() |
Cmn
|
Public companion properties
Empty
val Empty: LocaleList
An empty instance of LocaleList. Usually used to reference a lack of explicit Locale configuration.
Public constructors
LocaleList
LocaleList(languageTags: String)
Create a LocaleList object from comma separated language tags.
| Parameters | |
|---|---|
languageTags: String |
A comma separated IETF BCP47 compliant language tag. |