|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjunit.runner.Sorter
public class Sorter
A custom quick sort with support to customize the swap behaviour. NOTICE: We can't use the the sorting support from the JDK 1.2 collection classes because of the JDK 1.1.7 compatibility.
| Nested Class Summary | |
|---|---|
static interface |
Sorter.Swapper
|
| Constructor Summary | |
|---|---|
Sorter()
|
|
| Method Summary | |
|---|---|
static void |
sortStrings(java.util.Vector values,
int left,
int right,
Sorter.Swapper swapper)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Sorter()
| Method Detail |
|---|
public static void sortStrings(java.util.Vector values,
int left,
int right,
Sorter.Swapper swapper)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||