MCPcopy Index your code
hub / github.com/arnauddri/algorithms / Extract

Method Extract

data-structures/priority-queue/priority_queue.go:48–50  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46}
47
48func (pq *PQ) Extract() (el Item) {
49 return pq.data.Extract().(Item)
50}
51
52func (pq *PQ) ChangePriority(val interface{}, priority int) {
53 var storage = queue.New()

Callers 4

ChangePriorityMethod · 0.95
TestMaxPriorityQueueFunction · 0.45
TestMinPriorityQueueFunction · 0.45
TestChangePriorityFunction · 0.45

Calls

no outgoing calls

Tested by 3

TestMaxPriorityQueueFunction · 0.36
TestMinPriorityQueueFunction · 0.36
TestChangePriorityFunction · 0.36