Skip to content

Commit 35153ad

Browse files
committed
modify code
1 parent 6a40465 commit 35153ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/class07/HeapGreater.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public class HeapGreater<T> {
1515
private int heapSize;
1616
private Comparator<? super T> comp;
1717

18-
public HeapGreater(Comparator<T> c) {
18+
public HeapGreater(Comparator<? super T> c) {
1919
heap = new ArrayList<>();
2020
indexMap = new HashMap<>();
2121
heapSize = 0;

0 commit comments

Comments
 (0)