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, size
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
corrupted
empty
public BinaryHeap(java.util.Comparator<? super T> c)
public static <S extends java.lang.Comparable<? super S>> BinaryHeap<S> naturallyOrdered()