|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.starteam.util.QuickSort
public final class QuickSort
An implementation of the quick sort algorithm
| Method Summary | |
|---|---|
static void |
sort(Sortable s)
This is an implementation of the Quick Sort algorithm. |
static void |
sortArray(java.lang.Object[] a,
SortCompare d)
This is an implementation of the Quick Sort algorithm. |
static void |
sortInts(int[] a)
This is an implementation of the Quick Sort algorithm for integers |
static void |
sortStrings(java.lang.String[] a)
This is an implementation of the Quick Sort algorithm. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void sort(Sortable s)
s - - the Sortable object
public static void sortArray(java.lang.Object[] a,
SortCompare d)
a - - Object array to be sortedd - - the SortCompare to determine the order of elementspublic static void sortStrings(java.lang.String[] a)
a - - String array to be sortedpublic static void sortInts(int[] a)
a - - int array to be sorted
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||