queue

package
v0.0.0-...-8e4d93b Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Queue

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

func NewQueue

func NewQueue() *Queue

func (*Queue) Do

func (q *Queue) Do(fn func(item interface{}))

func (*Queue) Get

func (q *Queue) Get() (interface{}, bool)

func (*Queue) GetBack

func (q *Queue) GetBack() (interface{}, bool)

func (*Queue) IsEmpty

func (q *Queue) IsEmpty() bool

func (*Queue) Put

func (q *Queue) Put(v interface{})

func (*Queue) PutFront

func (q *Queue) PutFront(v interface{})

func (*Queue) PutFrontList

func (q *Queue) PutFrontList(values []interface{})

func (*Queue) PutList

func (q *Queue) PutList(values []interface{})

func (*Queue) Qsize

func (q *Queue) Qsize() int

func (*Queue) String

func (q *Queue) String() string

Jump to

Keyboard shortcuts

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