public class EquivalenceComparer extends AtomicSortComparer
COLLATION_KEY_NaN
Modifier | Constructor and Description |
---|---|
protected |
EquivalenceComparer(StringCollator collator,
int itemType,
XPathContext context) |
Modifier and Type | Method and Description |
---|---|
protected int |
compareNonComparables(AtomicValue a,
AtomicValue b)
Compare two values that are known to be non-comparable.
|
String |
save()
Create a string representation of this AtomicComparer that can be saved in a compiled
package and used to reconstitute the AtomicComparer when the package is reloaded
|
compareAtomicValues, comparesEqual, getCollator, getItemType, getStringCollator, makeSortComparer, provideContext
protected EquivalenceComparer(StringCollator collator, int itemType, XPathContext context)
protected int compareNonComparables(AtomicValue a, AtomicValue b)
SequenceTool.INDETERMINATE_ORDERING
compareNonComparables
in class AtomicSortComparer
a
- the first value to be comparedb
- the second value to be comparedpublic String save()
save
in interface AtomicComparer
save
in class AtomicSortComparer
Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.