(c *queueItem)
| 536 | func (pq *priorityQueue) Init() { heap.Init((*priorityQueueImp)(pq)) } |
| 537 | func (pq *priorityQueue) Len() int { return (*priorityQueueImp)(pq).Len() } |
| 538 | func (pq *priorityQueue) Push(c *queueItem) { |
| 539 | heap.Push((*priorityQueueImp)(pq), c) |
| 540 | } |
| 541 | func (pq *priorityQueue) Pop() *queueItem { |
| 542 | return heap.Pop((*priorityQueueImp)(pq)).(*queueItem) |
| 543 | } |