linkqueue

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 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 LinkQueue

type LinkQueue struct {
	// contains filtered or unexported fields
}

func NewLinkQueue

func NewLinkQueue() *LinkQueue

func (*LinkQueue) ForeachFromFront

func (t *LinkQueue) ForeachFromFront(f func(elem *list.Element) bool)

func (*LinkQueue) PopValue

func (t *LinkQueue) PopValue() (interface{}, bool)

func (*LinkQueue) PutValue

func (t *LinkQueue) PutValue(value interface{})

func (*LinkQueue) SafetyCheckAndRemoveValues

func (t *LinkQueue) SafetyCheckAndRemoveValues(f func(elem *list.Element) bool) []interface{}

func (*LinkQueue) SafetyForeachFromFront

func (t *LinkQueue) SafetyForeachFromFront(f func(elem *list.Element) bool)

func (*LinkQueue) SafetyGetLen

func (t *LinkQueue) SafetyGetLen() int

func (*LinkQueue) SafetyPopValue

func (t *LinkQueue) SafetyPopValue() (interface{}, bool)

func (*LinkQueue) SafetyPopValues

func (t *LinkQueue) SafetyPopValues(count int) []interface{}

func (*LinkQueue) SafetyPutValue

func (t *LinkQueue) SafetyPutValue(value interface{})

func (*LinkQueue) SafetyPutValues

func (t *LinkQueue) SafetyPutValues(values ...interface{})

func (*LinkQueue) SafetyPutValuesToHead

func (t *LinkQueue) SafetyPutValuesToHead(values ...interface{})

func (*LinkQueue) SafetyRemoveValues

func (t *LinkQueue) SafetyRemoveValues(values []*list.Element)

Jump to

Keyboard shortcuts

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