queue

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 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) GetLength2 added in v0.9.1

func (q *FiFo) GetLength2() 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) GetLength2 added in v0.9.1

func (q *LiFo) GetLength2() 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