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

## swing.addon.util
Interface Sorter.Comparable

All Known Implementing Classes:
  Class, Method, Package

Enclosing class:
  Sorter

public static interface Sorter.Comparable

This is an alternative interface that can be used to order objects. If a class implements this Comparable interface, then any two instances of that class can be directly compared by invoking the compareTo() method.

Method Summary
`int` | `compareTo(java.lang.Object other)` Compare objects and return a value that indicates their relative order: if (this > other) return > 0 if (this == other) return 0 if (this < other) return < 0

Method Detail

### compareTo

    public int compareTo(java.lang.Object other)

  Compare objects and return a value that indicates their relative order: if (this > other) return > 0 if (this == other) return 0 if (this < other) return < 0

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