@API(value=EXPERIMENTAL) public class TextCollatorRegistryICU extends Object implements TextCollatorRegistry
Collator
implementation.Modifier and Type | Class and Description |
---|---|
protected static class |
TextCollatorRegistryICU.TextCollatorICU |
Modifier and Type | Field and Description |
---|---|
static TextCollatorRegistryICU |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
TextCollator |
getTextCollator(int strength) |
TextCollator |
getTextCollator(String locale,
int strength) |
static TextCollatorRegistry |
instance()
Get the singleton instance of this registry.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getTextCollator, getTextCollator
public static final TextCollatorRegistryICU INSTANCE
public static TextCollatorRegistry instance()
@Nonnull public TextCollator getTextCollator(int strength)
getTextCollator
in interface TextCollatorRegistry
@Nonnull public TextCollator getTextCollator(@Nonnull String locale, int strength)
getTextCollator
in interface TextCollatorRegistry