|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.semanticweb.utilities.QSort
Description of the Class
| Constructor Summary | |
QSort()
|
|
| Method Summary | |
static void |
main(java.lang.String[] args)
The main program for the QSort class |
static void |
quickSort(java.lang.Object[] s,
int lo,
int hi,
Comparator cmp)
An implementation of Quicksort using medians of 3 for partitions. |
static void |
quickSort(java.util.Vector v,
int lo,
int hi,
Comparator cmp)
Description of the Method |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public QSort()
| Method Detail |
public static void quickSort(java.lang.Object[] s,
int lo,
int hi,
Comparator cmp)
s - Description of the Parameterlo - Description of the Parameterhi - Description of the Parametercmp - Description of the Parameter
public static void quickSort(java.util.Vector v,
int lo,
int hi,
Comparator cmp)
v - Description of the Parameterlo - Description of the Parameterhi - Description of the Parametercmp - Description of the Parameterpublic static void main(java.lang.String[] args)
args - The command line arguments
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||