net.sf.saxon.sort
public class GroupBySingletonIterator extends GroupByIterator
Constructor Summary | |
---|---|
GroupBySingletonIterator(SequenceIterator population, Expression keyExpression, XPathContext keyContext, StringCollator collator)
Create a GroupByIterator |
Method Summary | |
---|---|
protected void | processItem(HashMap<ComparisonKey,List<Item>> index, Item item, XPathContext c2)
Process one item in the population |
Parameters: population iterator over the population to be grouped keyExpression the expression used to calculate the grouping key keyContext dynamic context for calculating the grouping key collator Collation to be used for comparing grouping keys
Throws: net.sf.saxon.trans.XPathException
Parameters: index the index of items item the item from the population to be processed c2 the XPath evaluation context
Throws: net.sf.saxon.trans.XPathException