public abstract static class HeapSort.IndexSort extends HeapSort<int[],java.lang.Object>
HeapSort.IndexSort
Constructor and Description |
---|
IndexSort() |
Modifier and Type | Method and Description |
---|---|
protected int |
compare(int[] a,
int i,
int j,
java.lang.Object comparator) |
protected abstract int |
compare(java.lang.Object x,
java.lang.Object y) |
protected abstract java.lang.Object |
lookup(java.lang.Object comparator,
int i) |
protected void |
swap(int[] a,
int i,
int j) |