* Creates an instance of PriorityQueue.
()
| 7 | * Creates an instance of PriorityQueue. |
| 8 | */ |
| 9 | constructor() { |
| 10 | /** |
| 11 | * @type {Array<{item: T, priority: number}>} |
| 12 | * @private |
| 13 | */ |
| 14 | this.queue_ = []; |
| 15 | } |
| 16 | |
| 17 | /** |
| 18 | * Returns the max priority item without dequeueing it. |
nothing calls this directly
no outgoing calls
no test coverage detected