Help us shape the future of Go! Take the 2026 Go Developer Survey

queue

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FiFo

type FiFo[T any] struct {
	// contains filtered or unexported fields
}

func (*FiFo) GetLength

func (q *FiFo) GetLength() uint64

func (*FiFo[T]) Insert

func (q *FiFo[T]) Insert(items ...*T)

func (*FiFo) Pop

func (q *FiFo) Pop() (*T, error)

type LiFo

type LiFo[T any] struct {
	// contains filtered or unexported fields
}

func (*LiFo) GetLength

func (q *LiFo) GetLength() uint64

func (*LiFo[T]) Insert

func (q *LiFo[T]) Insert(items ...*T)

func (*LiFo) Pop

func (q *LiFo) Pop() (*T, error)

Jump to

Keyboard shortcuts

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