There was an error while loading. Please reload this page.
1 parent 6a40465 commit 35153adCopy full SHA for 35153ad
src/class07/HeapGreater.java
@@ -15,7 +15,7 @@ public class HeapGreater<T> {
15
private int heapSize;
16
private Comparator<? super T> comp;
17
18
-public HeapGreater(Comparator<T> c) {
+public HeapGreater(Comparator<? super T> c) {
19
heap = new ArrayList<>();
20
indexMap = new HashMap<>();
21
heapSize = 0;
0 commit comments