package
Version:
v0.0.0-...-5d0c2b2
Opens a new window with list of versions in this module.
Published: Mar 1, 2025
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Len implements heap.Interface.
Less implements heap.Interface.
Pop implements heap.Interface, do not use this method directly.
func (q *Q[T]) PopItem() T
func (q *Q[T]) Push(x any)
Push implements heap.Interface, do not use this method directly.
func (q *Q[T]) PushItem(priority int, value T)
func (q Q[T]) Swap(i, j int)
Swap implements heap.Interface, do not use this method directly.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.