Package net.sf.saxon.expr.sort
Class ObjectToBeSorted
- java.lang.Object
-
- net.sf.saxon.expr.sort.ObjectToBeSorted
-
- Direct Known Subclasses:
GroupToBeSorted
,ItemToBeSorted
public class ObjectToBeSorted extends java.lang.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 Summary
Fields Modifier and Type Field Description int
originalPosition
AtomicValue[]
sortKeyValues
Item
value
-
Constructor Summary
Constructors Constructor Description ObjectToBeSorted(int numberOfSortKeys)
-
-
-
Field Detail
-
value
public Item value
-
sortKeyValues
public AtomicValue[] sortKeyValues
-
originalPosition
public int originalPosition
-
-