Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## net.sf.saxon.sort
Interface NodeOrderComparer

All Known Implementing Classes:
  GlobalOrderComparer, LocalOrderComparer

public interface NodeOrderComparer

A Comparer used for comparing nodes in document order

Method Summary
`int` | `compare(NodeInfo a, NodeInfo b)` Compare two objects.

Method Detail

### compare

    public int compare(NodeInfo a,
                       NodeInfo b)

  Compare two objects.

  Returns:
    <0 if a0 if a>b

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD