Example usage for Java java.text Collator fields, constructors, methods, implement or subclass
The text is from its open source code.
int | PRIMARY Collator strength value. |
int | SECONDARY Collator strength value. |
int | TERTIARY Collator strength value. |
int | IDENTICAL Collator strength value. |
int | NO_DECOMPOSITION Decomposition mode value. |
int | CANONICAL_DECOMPOSITION Decomposition mode value. |
int | FULL_DECOMPOSITION Decomposition mode value. |
int | compare(String source, String target) Compares the source string to the target string according to the collation rules for this Collator. |
int | compare(Object o1, Object o2) Compares its two arguments for order. |
boolean | equals(String source, String target) Convenience method for comparing the equality of two strings based on this Collator's collation rules. |
Locale[] | getAvailableLocales() Returns an array of all locales for which the getInstance methods of this class can return localized instances. |
Class> | getClass() Returns the runtime class of this Object . |
CollationKey | getCollationKey(String source) Transforms the String into a series of bits that can be compared bitwise to other CollationKeys. |
int | getDecomposition() Get the decomposition mode of this Collator. |
Collator | getInstance(Locale desiredLocale) Gets the Collator for the desired locale. |
Collator | getInstance() Gets the Collator for the current default locale. |
void | setDecomposition(int decompositionMode) Set the decomposition mode of this Collator. |
void | setStrength(int newStrength) Sets this Collator's strength property. |