net.sf.saxon.expr.sort

## Interface ItemOrderComparer

- All Superinterfaces:
    Serializable
  All Known Implementing Classes:
    GlobalOrderComparer, LocalOrderComparer

      public interface ItemOrderComparer
      extends Serializable

  A Comparer used for comparing nodes in document order, or items in merge order
  Author:
    Michael H. Kay

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `compare(Item a, Item b)` Compare two objects.

- - ### Method Detail

    - #### compare

          int compare(Item a,
                    Item b)

      Compare two objects.
      Returns:
        <0 if a0 if a>b

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