net.sf.saxon.expr.sort

## 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 Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `AtomicSequence` | `currentGroupingKey`
    `SequenceIterator` | `currentGroupIterator`

    - ### Fields inherited from class net.sf.saxon.expr.sort.ObjectToBeSorted

      `originalPosition, sortKeyValues, value`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `GroupToBeSorted(int numberOfSortKeys)`

  - ### Method Summary

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### currentGroupingKey

          public AtomicSequence currentGroupingKey

    - #### currentGroupIterator

          public SequenceIterator currentGroupIterator

  - ### Constructor Detail

    - #### GroupToBeSorted

          public GroupToBeSorted(int numberOfSortKeys)

Copyright (c) 2004-2013 Saxonica Limited. All rights reserved.