public class Localizables extends Object
Localizable
s.Localizable
,
Localizer
,
LocalizedCollator
,
Locale
Modifier and Type | Method and Description |
---|---|
static void |
sort(List<? extends Localizable> localizables)
Sorts a list of
Localizable s in the natural, locale-sensitive order of their
Localizable.getDisplayString(java.util.Locale) -representation
(uses the default locale). |
static void |
sort(Locale inLocale,
List<? extends Localizable> localizables)
Sorts a list of
Localizable s in the natural, locale-sensitive order of their
Localizable.getDisplayString(java.util.Locale) -representation. |
static void |
sort(Locale inLocale,
Localizable... localizables)
Sorts an array of
Localizable s in the natural, locale-sensitive order of
their Localizable.getDisplayString(java.util.Locale) -representation. |
static void |
sort(Localizable... localizables)
Sorts an array of
Localizable s in the natural, locale-sensitive order of
their Localizable.getDisplayString(java.util.Locale) -representation
(uses the default locale). |
static void |
sort(LocalizedCollator collator,
List<? extends Localizable> localizables)
Sorts a list of
Localizable s in the natural, locale-sensitive order of their
Localizable.getDisplayString(java.util.Locale) -representation
as specified by the collator. |
static void |
sort(LocalizedCollator collator,
Localizable... localizables)
Sorts an array of
Localizable s in the natural, locale-sensitive order of
their Localizable.getDisplayString(java.util.Locale) -representation
as specified by the collator. |
static <T> void |
sort(Localizer<? super T> localizer,
List<T> list)
Sorts a list of objects in the natural, locale-sensitive order of
their
Localizer.getDisplayString(java.lang.Object, java.util.Locale) -representation
(uses the default locale). |
static <T> void |
sort(Localizer<? super T> localizer,
Locale inLocale,
List<T> list)
Sorts a list of objects in the natural, locale-sensitive order of
their
Localizer.getDisplayString(java.lang.Object, java.util.Locale) -representation. |
static <T> void |
sort(Localizer<? super T> localizer,
Locale inLocale,
T... objects)
Sorts an array of objects in the natural, locale-sensitive order of
their
Localizer.getDisplayString(java.lang.Object, java.util.Locale) -representation. |
static <T> void |
sort(Localizer<? super T> localizer,
LocalizedCollator collator,
List<T> list)
Sorts a list of objects in the natural, locale-sensitive order of
their
Localizer.getDisplayString(java.lang.Object, java.util.Locale) -representation
as specified by the collator. |
static <T> void |
sort(Localizer<? super T> localizer,
LocalizedCollator collator,
T... objects)
Sorts an array of objects in the natural, locale-sensitive order of
their
Localizer.getDisplayString(java.lang.Object, java.util.Locale) -representation
as specified by the collator. |
static <T> void |
sort(Localizer<? super T> localizer,
T... objects)
Sorts an array of objects in the natural, locale-sensitive order of
their
Localizer.getDisplayString(java.lang.Object, java.util.Locale) -representation
(uses the default locale). |
public static void sort(Locale inLocale, Localizable... localizables)
Localizable
s in the natural, locale-sensitive order of
their Localizable.getDisplayString(java.util.Locale)
-representation.inLocale
- selects the localized display strings and the natural,
locale-sensitive order for this localelocalizables
- the localizables to sortpublic static void sort(LocalizedCollator collator, Localizable... localizables)
Localizable
s in the natural, locale-sensitive order of
their Localizable.getDisplayString(java.util.Locale)
-representation
as specified by the collator.collator
- selects the localized display strings and specifies the natural,
locale-sensitive order for this localelocalizables
- the localizables to sortpublic static void sort(Localizable... localizables)
Localizable
s in the natural, locale-sensitive order of
their Localizable.getDisplayString(java.util.Locale)
-representation
(uses the default locale).localizables
- the localizables to sortLocale.getDefault()
public static <T> void sort(Localizer<? super T> localizer, Locale inLocale, T... objects)
Localizer.getDisplayString(java.lang.Object, java.util.Locale)
-representation.localizer
- gets the localized display strings of the objectsinLocale
- selects the localized display strings and the natural,
locale-sensitive order for this localeobjects
- the objects to sortpublic static <T> void sort(Localizer<? super T> localizer, LocalizedCollator collator, T... objects)
Localizer.getDisplayString(java.lang.Object, java.util.Locale)
-representation
as specified by the collator.localizer
- gets the localized display strings of the objectscollator
- selects the localized display strings and specifies the natural,
locale-sensitive order for this localeobjects
- the objects to sortpublic static <T> void sort(Localizer<? super T> localizer, T... objects)
Localizer.getDisplayString(java.lang.Object, java.util.Locale)
-representation
(uses the default locale).localizer
- gets the localized display strings of the objectsobjects
- the objects to sortpublic static void sort(Locale inLocale, List<? extends Localizable> localizables)
Localizable
s in the natural, locale-sensitive order of their
Localizable.getDisplayString(java.util.Locale)
-representation.inLocale
- selects the localized display strings and the natural,
locale-sensitive order for this localelocalizables
- the localizables to sortpublic static void sort(LocalizedCollator collator, List<? extends Localizable> localizables)
Localizable
s in the natural, locale-sensitive order of their
Localizable.getDisplayString(java.util.Locale)
-representation
as specified by the collator.collator
- selects the localized display strings and specifies the natural,
locale-sensitive order for this localelocalizables
- the localizables to sortpublic static void sort(List<? extends Localizable> localizables)
Localizable
s in the natural, locale-sensitive order of their
Localizable.getDisplayString(java.util.Locale)
-representation
(uses the default locale).localizables
- the localizables to sortLocale.getDefault()
public static <T> void sort(Localizer<? super T> localizer, Locale inLocale, List<T> list)
Localizer.getDisplayString(java.lang.Object, java.util.Locale)
-representation.localizer
- gets the localized display strings of the objectsinLocale
- selects the localized display strings and the natural,
locale-sensitive order for this localelist
- the objects to sortpublic static <T> void sort(Localizer<? super T> localizer, LocalizedCollator collator, List<T> list)
Localizer.getDisplayString(java.lang.Object, java.util.Locale)
-representation
as specified by the collator.localizer
- gets the localized display strings of the objectscollator
- selects the localized display strings and specifies the natural,
locale-sensitive order for this localelist
- the objects to sortpublic static <T> void sort(Localizer<? super T> localizer, List<T> list)
Localizer.getDisplayString(java.lang.Object, java.util.Locale)
-representation
(uses the default locale).localizer
- gets the localized display strings of the objectslist
- the objects to sortLocale.getDefault()
Copyright © 2002–2015 SoftSmithy. All rights reserved.