CollationKey
Class CollationKey
- java.lang.Object
-
- java.text.CollationKey
- All Implemented Interfaces:
- Comparable<CollationKey>
public abstract class CollationKey extends Object implements Comparable<CollationKey>
A CollationKey
represents a String
under the rules of a specific Collator
object. Comparing two CollationKey
s returns the relative order of the String
s they represent. Using CollationKey
s to compare String
s is generally faster than using Collator.compare
. Thus, when the String
s must be compared multiple time