|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Defines the compare() method used to compare two objects.
To sort objects of a given type, you must provide a Comparer object with a compare() method that orders those objects as desired.
| Method Summary | |
int |
compare(java.lang.Object a,
java.lang.Object b)
Compare two objects and return a value that indicated their relative order. |
| Method Detail |
public int compare(java.lang.Object a,
java.lang.Object b)
a - an Object specifying one of the comparandsb - an Object specifying one of the comparands
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||