|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
SpyComparible allows a class to describe how two objects should be compared. One of these must be implemented for each type of object we'll be sorting.
| Method Summary | |
int |
compare(Object obj1,
Object obj2)
Compare two objects. |
| Method Detail |
public int compare(Object obj1,
Object obj2)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||