toString

abstract override fun toString(): String(source)

Represents the heap entry as a string. Must return a string in the following form.

"<entry name>[element = <element>, priority = <priority>]"

"Entry name" here can mean anything, but (FQ) name of the entry's class with system hash code (if there is any) is enough.

Return

The string representation of the node.