PriorityQueueNode Class
PriorityQueue Node
Methods
constructor
(
-
value
-
priority
Constructor
Parameters:
-
value
Object -
priority
Object
toString
()
Serializes the node to string
Returns:
string The serialized string.
Properties
priority
Any
Node priority
value
Any
Node value