public class UcaCollationKeyUsingIcu
extends java.text.CollationKey
fn:collation-key
function in XPath, but also internally to support fn:distinct-values
,
xsl:for-each-group
, and XQuery grouping.Modifier and Type | Method and Description |
---|---|
int |
compareTo(java.text.CollationKey target)
Compare this collation key to another.
|
boolean |
equals(java.lang.Object obj)
Test if two collation keys are equal
|
com.ibm.icu.text.CollationKey |
getKey()
Get the internal ICU collation key
|
int |
hashCode()
Get a hash code supporting the equals() method
|
byte[] |
toByteArray()
Get a binary representation of this collection key
|
public com.ibm.icu.text.CollationKey getKey()
public int compareTo(java.text.CollationKey target)
compareTo
in interface java.lang.Comparable<java.text.CollationKey>
compareTo
in class java.text.CollationKey
target
- the other collation keyjava.lang.ClassCastException
- if the other collation key is not an ICU-based collation key.public byte[] toByteArray()
toByteArray
in class java.text.CollationKey
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- the other collation keyCopyright (c) 2004-2020 Saxonica Limited. All rights reserved.