Uses of Class
com.ibm.icu.text.Collator
Packages that use Collator
Package
Description
Extensions and enhancements to java.text to support unicode transforms, UnicodeSet, surrogate char utilities, UCA collation, normalization, break iteration (rule and dictionary based), enhanced number format, international string searching, and arabic shaping.
International calendars and other utility classes.
-
Uses of Collator in com.ibm.icu.text
Subclasses of Collator in com.ibm.icu.textModifier and TypeClassDescriptionfinal class
RuleBasedCollator is a concrete subclass of Collator.Methods in com.ibm.icu.text that return CollatorModifier and TypeMethodDescriptionCollator.cloneAsThawed()
Provides for the clone operation.Collator.CollatorFactory.createCollator
(ULocale loc) Return an instance of the appropriate collator.Collator.CollatorFactory.createCollator
(Locale loc) Return an instance of the appropriate collator.Collator.freeze()
Freezes the collator.RuleBasedCollator.freeze()
Freezes the collator.static final Collator
Collator.getInstance()
Returns the Collator for the current default locale.static final Collator
Collator.getInstance
(ULocale locale) Returns the Collator for the desired locale.static final Collator
Collator.getInstance
(Locale locale) Returns the Collator for the desired locale.Collator.setMaxVariable
(int group) Sets the variable top to the top of the specified reordering group.Collator.setStrength2
(int newStrength) Deprecated.This API is ICU internal only.Methods in com.ibm.icu.text with parameters of type CollatorModifier and TypeMethodDescriptionstatic final Object
Collator.registerInstance
(Collator collator, ULocale locale) Registers a collator as the default collator for the provided locale. -
Uses of Collator in com.ibm.icu.util
Methods in com.ibm.icu.util that return CollatorModifier and TypeMethodDescriptionGlobalizationPreferences.getCollator()
Get a copy of the collator according to the settings.protected Collator
GlobalizationPreferences.guessCollator()
This function can be overridden by subclasses to use different heuristics.Methods in com.ibm.icu.util with parameters of type CollatorModifier and TypeMethodDescriptionGlobalizationPreferences.setCollator
(Collator collator) Explicitly set the collator for this object.