T - the element typepublic class InPlaceStableQuicksort<T>
extends java.lang.Object
| Constructor and Description |
|---|
InPlaceStableQuicksort() |
| Modifier and Type | Method and Description |
|---|---|
static <T> void |
sort(T[] data,
java.util.Comparator<T> comp)
Sort an array using the given comparator.
|
void |
sortArray(T[] d,
java.util.Comparator<T> c)
Sort an array using the given comparator.
|