(Available since version 1.0)
This class provides the main functionalities of a heap, keeping the maximum on the top. The underlying implementation is a binary heap.
It provides the same interface as SplMaxHeap with the extra methods, Heap::extractInsert() and Heap::update() which allows one to update a node in the heap.