|
Knopflerfish OSGi 2.4.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.knopflerfish.util.sort.QSort
public class QSort
Quicksort utility class.
Constructor Summary | |
---|---|
protected |
QSort()
Use static methods, please |
Method Summary | |
---|---|
static void |
sort(java.lang.Object[] a,
CompareFunc cf)
Sort an array with objects compareble using a comparison function. |
static void |
sort(java.util.Vector a,
CompareFunc cf)
Sort a vector with objects compareble using a comparison function. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected QSort()
Method Detail |
---|
public static void sort(java.util.Vector a, CompareFunc cf)
a
- Vector to sortcf
- comparison functionpublic static void sort(java.lang.Object[] a, CompareFunc cf)
a
- Array to sortcf
- comparison function
|
Knopflerfish OSGi 2.4.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |