(i, j int)
| 1000 | |
| 1001 | func (h LogPriorityQueue) Len() int { return len(h) } |
| 1002 | func (h LogPriorityQueue) Less(i, j int) bool { return h[i].Sequence < h[j].Sequence } |
| 1003 | func (h LogPriorityQueue) Swap(i, j int) { h[i], h[j] = h[j], h[i] } |
| 1004 | |
| 1005 | func (h *LogPriorityQueue) Push(x interface{}) { |
no outgoing calls