|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.turbine.util.QuickSort
QuickSort - adapted from Doug Lea's Public Domain collection library.
| Constructor Summary | |
QuickSort()
Deprecated. |
|
| Method Summary | |
static void |
quickSort(java.lang.Object[] s,
int lo,
int hi,
Comparable cmp)
Deprecated. Sort array of Objects using the QuickSort algorithm. |
void |
sort(java.lang.Object[] data,
Comparable cmp)
Deprecated. Sorts and array of objects. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public QuickSort()
| Method Detail |
public static void quickSort(java.lang.Object[] s,
int lo,
int hi,
Comparable cmp)
s - An Object[].lo - The current lower bound.hi - The current upper bound.cmp - A Comparable to compare two elements.
public void sort(java.lang.Object[] data,
Comparable cmp)
data - An Object[].cmp - A Comparable to compare two elements.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||