|
NetCharts Pro | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnetcharts.util.NFSort
public class NFSort
This class supports the sorting of vectors containing arbitrary object types.
| Constructor Summary | |
|---|---|
NFSort()
|
|
| Method Summary | |
|---|---|
int |
compare(java.lang.Object d1,
java.lang.Object d2)
Generic comparison method that compares any objects as strings. |
static void |
main(java.lang.String[] args)
|
static void |
qsort(java.lang.String[] list)
Sort the given String array using QuickSort |
static void |
qsort(java.util.Vector v)
Sort the given vector using QuickSort and a generic string comparison method. |
static void |
qsort(java.util.Vector v,
int left,
int right)
Sort the given vector using the QuickSort approach and a generic string comparsion method. |
static void |
qsort(java.util.Vector v,
int left,
int right,
NFCompare cmp)
Sort the given vector using the QuickSort approach, and the given comparison object. |
static void |
qsort(java.util.Vector v,
NFCompare cmp)
Sort the given vector using the QuickSort approach and the given comparison routine |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NFSort()
| Method Detail |
|---|
public int compare(java.lang.Object d1,
java.lang.Object d2)
d1 - Object one.d2 - Object two.
public static void qsort(java.util.Vector v)
v - The Vector to sort.
public static void qsort(java.util.Vector v,
NFCompare cmp)
v - The Vector to sort.cmp - The NFCompare object to use for comparisons.
public static void qsort(java.util.Vector v,
int left,
int right)
v - The Vector to sort.left - The Left pivot.right - The Right pivot.
public static void qsort(java.util.Vector v,
int left,
int right,
NFCompare cmp)
v - The Vector to sort.left - The Left pivot.right - The Right pivot.cmp - The NFCompare object to use for comparisons.public static void qsort(java.lang.String[] list)
list - The list to sort.public static void main(java.lang.String[] args)
|
NetCharts Pro | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| Visual Mining, Inc. | Copyright © Visual Mining, Inc. 1996 - 2018 |
Last Modified: Jan 7, 2018 |