CollationKey

Class 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 CollationKeys returns the relative order of the Strings they represent. Using CollationKeys to compare Strings is generally faster than using Collator.compare. Thus, when the Strings must be compared multiple time