Class GroupToBeSorted

java.lang.Object
net.sf.saxon.expr.sort.ObjectToBeSorted<Item>
net.sf.saxon.expr.sort.GroupToBeSorted

public class GroupToBeSorted extends ObjectToBeSorted<Item>
This class is a specialization of ObjectToBeSorted for use when the sequence being sorted is a sequence of groups. The group is represented by its initial item, but the object holds in addition the value of the grouping key, and an iterator over the items in the group.
  • Field Details

    • currentGroupingKey

      public Value currentGroupingKey
    • currentGroupIterator

      public SequenceIterator currentGroupIterator
  • Constructor Details

    • GroupToBeSorted

      public GroupToBeSorted(int numberOfSortKeys)