queue

package
v0.0.0-...-f6453c5 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2020 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 LinkQueue

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

func NewLinkQueue

func NewLinkQueue() *LinkQueue

func (*LinkQueue) Clear

func (q *LinkQueue) Clear()

func (*LinkQueue) Length

func (q *LinkQueue) Length() int

func (*LinkQueue) Pop

func (q *LinkQueue) Pop() (interface{}, bool)

func (*LinkQueue) Push

func (q *LinkQueue) Push(v interface{})

type StaticQueue

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

func NewStaticQueue

func NewStaticQueue(size int) *StaticQueue

func (*StaticQueue) Capacity

func (q *StaticQueue) Capacity() int

func (*StaticQueue) Clear

func (q *StaticQueue) Clear()

func (*StaticQueue) Length

func (q *StaticQueue) Length() int

func (*StaticQueue) Pop

func (q *StaticQueue) Pop() (interface{}, bool)

func (*StaticQueue) Push

func (q *StaticQueue) Push(v interface{}) bool

Jump to

Keyboard shortcuts

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