public class BinaryHeap<T> extends KAryHeap<T>
| Constructor and Description |
|---|
BinaryHeap(java.util.Comparator<? super T> c) |
| Modifier and Type | Method and Description |
|---|---|
static <S extends java.lang.Comparable<? super S>> |
naturallyOrdered() |
decrease, insert, insertWithId, naturallyOrdered, peek, pop, sizeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcorruptedemptypublic BinaryHeap(java.util.Comparator<? super T> c)
public static <S extends java.lang.Comparable<? super S>> BinaryHeap<S> naturallyOrdered()