Class SortedGroupIterator

java.lang.Object
net.sf.saxon.sort.SortedIterator
net.sf.saxon.sort.SortedGroupIterator
All Implemented Interfaces:
LastPositionFinder, SequenceIterator, GroupIterator, Sortable

public class SortedGroupIterator extends SortedIterator implements GroupIterator
A SortedGroupIterator is a modified SortedIterator. It sorts a sequence of groups, and is itself a GroupIterator. The modifications retain extra information about the items being sorted. The items are each the leading item of a group, and as well as the item itself, the iterator preserves information about the group: specifically, an iterator over the items in the group, and the value of the grouping key (if any).