Optional
items: Iterable<T>Initial elements for this heap.
The compare function to order elements.
The compare function to order elements.
Whether to heapify the initial elements. Set this to false if elements are already in heap order.
Private
Readonly
compareThe compare function to order elements.
Private
heapReturns the size of this BinaryHeap.
Clears this BinaryHeap.
Private
heapifyPrivate
heapifyPrivate
parentGenerated using TypeDoc
A binary heap.