Class CollatorICU
java.lang.Object
java.text.Collator
com.ibm.icu.impl.jdkadapter.CollatorICU
- All Implemented Interfaces:
Cloneable, Comparator<Object>
CollatorICU is an adapter class which wraps ICU4J Collator and
implements java.text.Collator APIs.
-
Field Summary
FieldsFields inherited from class Collator
CANONICAL_DECOMPOSITION, FULL_DECOMPOSITION, IDENTICAL, NO_DECOMPOSITION, PRIMARY, SECONDARY, TERTIARY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()intintbooleanbooleangetCollationKey(String source) intintinthashCode()voidsetDecomposition(int decompositionMode) voidsetStrength(int newStrength) unwrap()static CollatorMethods inherited from class Collator
getAvailableLocales, getInstance, getInstanceMethods inherited from class Object
finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Field Details
-
fIcuCollator
-
-
Constructor Details
-
CollatorICU
-
-
Method Details
-
wrap
-
unwrap
-
clone
-
compare
-
compare
-
equals
-
equals
-
getCollationKey
- Specified by:
getCollationKeyin classCollator
-
getDecomposition
public int getDecomposition()- Overrides:
getDecompositionin classCollator
-
getStrength
public int getStrength()- Overrides:
getStrengthin classCollator
-
hashCode
-
setDecomposition
public void setDecomposition(int decompositionMode) - Overrides:
setDecompositionin classCollator
-
setStrength
public void setStrength(int newStrength) - Overrides:
setStrengthin classCollator
-