public final class QuickSort
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
The IBM copyright notice field.
|
Constructor and Description |
---|
QuickSort()
The default constructor.
|
Modifier and Type | Method and Description |
---|---|
static void |
sort(java.lang.Object[] objectArray,
QuickSortCompare comparor)
This method sorts an array of objects.
|
static void |
sort(java.util.Vector objectVector,
QuickSortCompare comparor)
This method sorts a vector of objects.
|
public static final java.lang.String COPYRIGHT
public static final void sort(java.lang.Object[] objectArray, QuickSortCompare comparor)
objectArray
- an array of objectscomparor
- an implementation of QuickSortCompare
that will be used to compare the objectspublic static final void sort(java.util.Vector objectVector, QuickSortCompare comparor)
objectVector
- a vector of objectscomparor
- an implementation of QuickSortCompare
that will be used to compare the objects