Versions in this module Expand all Collapse all v0 v0.2.0 Nov 10, 2024 Changes in this version + type OpFunc func(bl *PriorityQueue[T]) + func WithRWMutex[T any]() OpFunc[T] + type PriorityQueue struct + func New[T any](cmp compare.CmpFunc[T], ops ...OpFunc[T]) *PriorityQueue[T] + func (q *PriorityQueue[T]) Clear() + func (q *PriorityQueue[T]) Empty() bool + func (q *PriorityQueue[T]) Pop() T + func (q *PriorityQueue[T]) Push(elem T) + func (q *PriorityQueue[T]) Size() int + func (q *PriorityQueue[T]) Top() T