queue

package
v0.2.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 20, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrEmpty = errors.New("Queue is empty")

Functions

This section is empty.

Types

type Queue

type Queue[E any] struct {
	// contains filtered or unexported fields
}

func (*Queue[E]) Empty

func (q *Queue[E]) Empty() bool

func (*Queue[E]) Pop

func (q *Queue[E]) Pop() E

func (*Queue[E]) Push

func (q *Queue[E]) Push(e E)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL