|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Sortable
A Sortable is an object that can be sorted using the QuickSort method.
| Method Summary | |
|---|---|
int |
compare(int a,
int b)
Compare two objects within this Sortable, identified by their position. |
void |
swap(int a,
int b)
Swap two objects within this Sortable, identified by their position. |
| Method Detail |
|---|
int compare(int a,
int b)
void swap(int a,
int b)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||