net.sf.saxon.expr.sort

## Class ObjectToBeSorted<T>

- java.lang.Object
- - net.sf.saxon.expr.sort.ObjectToBeSorted<T>

- Direct Known Subclasses:
    GroupToBeSorted, ItemToBeSorted

      public class ObjectToBeSorted<T>
      extends 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 and Description
    --- | ---
    `int` | `originalPosition`
    `AtomicValue[]` | `sortKeyValues`
    `T` | `value`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ObjectToBeSorted(int numberOfSortKeys)`

  - ### Method Summary

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

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

- - ### Field Detail

    - #### value

          public T value

    - #### sortKeyValues

          public AtomicValue[] sortKeyValues

    - #### originalPosition

          public int originalPosition

  - ### Constructor Detail

    - #### ObjectToBeSorted

          public ObjectToBeSorted(int numberOfSortKeys)

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