Versions in this module Expand all Collapse all v0 v0.0.2 Apr 26, 2023 v0.0.1 Apr 26, 2023 Changes in this version + type PQueue struct + func NewPriority(compare func(T, T) bool) PQueue[T] + func (self *PQueue[T]) Pop() T + func (self *PQueue[T]) Push(items ...T) + func (self PQueue[T]) Bottom() T + func (self PQueue[T]) Empty() bool + func (self PQueue[T]) Size() int + func (self PQueue[T]) Top() T + type Queue []T + func New(items ...T) Queue[T] + func (self *Queue[T]) Pop() T + func (self *Queue[T]) Push(items ...T) + func (self Queue[T]) Bottom() T + func (self Queue[T]) Empty() bool + func (self Queue[T]) Size() int + func (self Queue[T]) Top() T