Bases: object
object
Overrides the comparison, so you can create a max heap easily.
val (Any) – The value to be stored in the heap object.
The value stored in the heap object.
Any
Overrides the less than comparison operator.
Overrides the equality comparison operator.
Returns a string representation of the heap object.
Methods