package
Version:
v1.10.12-rc.10
Opens a new window with list of versions in this module.
Published: Oct 10, 2023
License: BSD-3-Clause
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 9
Opens a new window with list of known importers.
Documentation
¶
type Queue[T any] struct {
}
NewQueue returns an empty heap. See QueueOf for more.
func QueueOf[T any](less func(a, b T) bool, entries ...T) Queue[T]
QueueOf returns a heap containing entries ordered by less.
func (q *Queue[T]) Push(t T)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.