Queue holds elements in an array-list
| 28 | |
| 29 | // Queue holds elements in an array-list |
| 30 | type Queue struct { |
| 31 | heap *binaryheap.Heap |
| 32 | Comparator utils.Comparator |
| 33 | } |
| 34 | |
| 35 | // NewWith instantiates a new empty queue with the custom comparator. |
| 36 | func NewWith(comparator utils.Comparator) *Queue { |
nothing calls this directly
no outgoing calls
no test coverage detected