Returns a list of matching Locale
instances using the filtering
mechanism defined in RFC 4647. This is equivalent to
filter(List, Collection, FilteringMode)
when mode
is
FilteringMode.AUTOSELECT_FILTERING
.
priorityList | user's Language Priority List in which each language tag is sorted in descending order based on priority or weight | |
locales | Locale instances used for matching |
Locale
instances for matching language tags
sorted in descending order based on priority or weight, or an empty
list if nothing matches. The list is modifiable.
NullPointerException | if priorityList or locales
is null |
Diagram: Locale