Class ObjectToBeSorted

java.lang.Object
net.sf.saxon.expr.sort.ObjectToBeSorted
Direct Known Subclasses:
GroupToBeSorted

public class ObjectToBeSorted extends Object
This class represents a member of a sequence that is being sorted. The sequence may contain items, tuples, groups, or anything else. An instance of this class holds the object itself, the values of the sort keys, and the original position of the item in the input sequence (which is needed to achieve stable sorting.)
  • Field Details

    • value

      public Item value
    • sortKeyValues

      public AtomicValue[] sortKeyValues
    • originalPosition

      public int originalPosition
  • Constructor Details

    • ObjectToBeSorted

      public ObjectToBeSorted(int numberOfSortKeys)