Collator Members

Collator Members

Class Overview | This Package | All Packages

Fields
Name Description
CANONICAL_DECOMPOSITION Decomposition mode value.
FULL_DECOMPOSITION Decomposition mode value.
IDENTICAL Collator strength value.
NO_DECOMPOSITION Decomposition mode value.
PRIMARY Collator strength value.
SECONDARY Collator strength value.
TERTIARY Collator strength value.

Constructors
Name Description
Collator() Default constructor.

Methods
Name Description
clone() Overrides Cloneable
compare(String, String) Compares the source string to the target string according to the collation rules for this Collator.
equals(Object) Compares the equality of two Collators.
equals(String, String) Convenience method for comparing the equality of two strings based on this Collator's collation rules.
getAvailableLocales() Get the set of Locales for which Collators are installed.
getCollationKey(String) Transforms the String into a series of bits that can be compared bitwise to other CollationKeys.
getDecomposition() Get the decomposition mode of this Collator.
getInstance() Gets the Collator for the current default locale.
getInstance(Locale) Gets the Collator for the desired locale.
getStrength() Returns this Collator's strength property.
hashCode() Generates the hash code for this Collator.
setDecomposition(int) Set the decomposition mode of this Collator.
setStrength(int) Sets this Collator's strength property.