Package net.sf.saxon.expr.sort
Class CollationMatchKey
java.lang.Object
net.sf.saxon.expr.sort.CollationMatchKey
- All Implemented Interfaces:
Comparable<CollationMatchKey>
,AtomicMatchKey
public class CollationMatchKey
extends Object
implements AtomicMatchKey, Comparable<CollationMatchKey>
A match key for comparing strings under a collation. Wraps a Java CollationKey obtained
from the collation.
-
Constructor Details
-
CollationMatchKey
-
-
Method Details
-
compareTo
- Specified by:
compareTo
in interfaceComparable<CollationMatchKey>
-
hashCode
public int hashCode() -
equals
-
asAtomic
Get an atomic value that encapsulates this match key. Needed to support the collation-key() function.- Specified by:
asAtomic
in interfaceAtomicMatchKey
- Returns:
- an atomic value that encapsulates this match key
-