Class DecimalSortComparer

All Implemented Interfaces:
AtomicComparer

public class DecimalSortComparer extends ComparableAtomicValueComparer
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 Details

    • getDecimalSortComparerInstance

      public static DecimalSortComparer getDecimalSortComparerInstance()
    • save

      public 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
      Specified by:
      save in interface AtomicComparer
      Overrides:
      save in class ComparableAtomicValueComparer
      Returns:
      a string representation of the AtomicComparer