Package gnu.kawa.util
Class HeapSort<T,C>
- java.lang.Object
-
- gnu.kawa.util.HeapSort<T,C>
-
- Direct Known Subclasses:
HeapSort.IndexSort
public abstract class HeapSort<T,C> extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHeapSort.IndexSortSort an error of integer indexes based on a lookup object.
-
Constructor Summary
Constructors Constructor Description HeapSort()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract intcompare(T a, int i, int j, C comparator)voidheapSort(T a, int count, C comparator)protected abstract voidswap(T a, int i, int j)
-