list

package
v0.0.0-...-5b52905 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Element

type Element generic.Type

Element is a generic type which will be contained in the list

type ElementList

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

ElementList is the generic FIFO queue

func NewElementList

func NewElementList() *ElementList

NewElementList creates a new list

func (*ElementList) Add

func (l *ElementList) Add(v Element)

Add inserts an element to the end of the list

func (*ElementList) Get

func (l *ElementList) Get() Element

Get pops the element from the head of the list

type UintList

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

func NewUintList

func NewUintList() *UintList

func (*UintList) Add

func (l *UintList) Add(v uint)

func (*UintList) Get

func (l *UintList) Get() uint

Jump to

Keyboard shortcuts

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