: Interface Comparer

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

## calypso.util
Interface Comparer

public abstract interface Comparer

This interface is the thing used by QSort to compare two objects.

See Also:
  `QSort`

Method Summary
`int` | `compare(java.lang.Object a, java.lang.Object b)` Compare two objects for sorting.

Method Detail

### compare

    public int compare(java.lang.Object a,
                       java.lang.Object b)

  Compare two objects for sorting. Should return negative if A < B, positive if A > B, else 0.

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