Package net.sf.saxon.expr.sort
Class DecimalSortComparer
java.lang.Object
net.sf.saxon.expr.sort.ComparableAtomicValueComparer
net.sf.saxon.expr.sort.DecimalSortComparer
- All Implemented Interfaces:
AtomicComparer
An AtomicComparer used for sorting values that are known to be instances of xs:decimal (including xs:integer),
It also supports a separate method for getting a collation key to test equality of items
-
Method Summary
Modifier and TypeMethodDescriptionstatic DecimalSortComparer
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 reloadedMethods inherited from class net.sf.saxon.expr.sort.ComparableAtomicValueComparer
compareAtomicValues, comparesEqual, getCollator, getInstance, provideContext
-
Method Details
-
getDecimalSortComparerInstance
-
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- Specified by:
save
in interfaceAtomicComparer
- Overrides:
save
in classComparableAtomicValueComparer
- Returns:
- a string representation of the AtomicComparer
-