queue

package
v0.0.0-...-df006db Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2018 License: MIT Imports: 0 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
}

int queue the zero object is a valid queue ready to be used. items are pushed at tail, popped at head. tail = -1 means queue is full

func (*Queue) Empty

func (q *Queue) Empty() bool

func (*Queue) Pop

func (q *Queue) Pop() (string, bool)

func (*Queue) Push

func (q *Queue) Push(x string)

Jump to

Keyboard shortcuts

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