Package net.sf.saxon.expr.sort
Class CodepointMatchKey
- java.lang.Object
-
- net.sf.saxon.expr.sort.CodepointMatchKey
-
- All Implemented Interfaces:
Comparable<CodepointMatchKey>,AtomicMatchKey
public class CodepointMatchKey extends Object implements Comparable<CodepointMatchKey>, AtomicMatchKey
A match key for comparing strings (represented as an array of characters) using codepoint collation.
-
-
Field Summary
-
Fields inherited from interface net.sf.saxon.expr.sort.AtomicMatchKey
NaN_MATCH_KEY
-
-
Constructor Summary
Constructors Constructor Description CodepointMatchKey(CharSequence in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AtomicValueasAtomic()Get an atomic value that encapsulates this match key.intcompareTo(CodepointMatchKey o)booleanequals(Object o)UnicodeStringgetValue()inthashCode()
-
-
-
Constructor Detail
-
CodepointMatchKey
public CodepointMatchKey(CharSequence in)
-
-
Method Detail
-
getValue
public UnicodeString getValue()
-
compareTo
public int compareTo(CodepointMatchKey o)
- Specified by:
compareToin interfaceComparable<CodepointMatchKey>
-
asAtomic
public AtomicValue asAtomic()
Get an atomic value that encapsulates this match key. Needed to support the collation-key() function.- Specified by:
asAtomicin interfaceAtomicMatchKey- Returns:
- an atomic value that encapsulates this match key
-
-