|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
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 this object to another object and return a value that indicates their relative order: |
| Method Detail |
public int compareTo(java.lang.Object other)
other - an Object specifying the other comparand
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||