MCPcopy
hub / github.com/emirpasic/gods / Queue

Struct Queue

queues/priorityqueue/priorityqueue.go:30–33  ·  view source on GitHub ↗

Queue holds elements in an array-list

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected