Class NamedCollator
java.lang.Object
java.text.Collator
gnu.xquery.util.NamedCollator
- All Implemented Interfaces:
Externalizable, Serializable, Cloneable, Comparator<Object>
- See Also:
-
Field Summary
FieldsFields inherited from class Collator
CANONICAL_DECOMPOSITION, FULL_DECOMPOSITION, IDENTICAL, NO_DECOMPOSITION, PRIMARY, SECONDARY, TERTIARY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intcodepointCompare(String str1, String str2) Compares two strings lexicographically by codepoint.intstatic NamedCollatorgetCollationKey(String source) getName()inthashCode()static NamedCollatorvoidvoidresolve()voidMethods inherited from class Collator
clone, compare, equals, equals, getAvailableLocales, getDecomposition, getInstance, getInstance, getStrength, setDecomposition, setStrengthMethods 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
-
UNICODE_CODEPOINT_COLLATION
- See Also:
-
codepointCollation
-
-
Constructor Details
-
NamedCollator
public NamedCollator()
-
-
Method Details
-
make
-
getName
-
find
-
resolve
public void resolve() -
codepointCompare
-
compare
-
getCollationKey
- Specified by:
getCollationKeyin classCollator
-
hashCode
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-