queue

package
v0.0.0-...-cd81575 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2017 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 Type

type Type string

type TypeQueue

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

TypeQueue represents a queue of Type types.

func New

func New() *TypeQueue

New makes a new empty Type queue.

func (*TypeQueue) Deq

func (q *TypeQueue) Deq() Type

Deq removes and returns the next item in the queue.

func (*TypeQueue) Enq

func (q *TypeQueue) Enq(obj Type) *TypeQueue

Enq adds an item to the queue.

func (*TypeQueue) Len

func (q *TypeQueue) Len() int

Len gets the current number of Type items in the queue.

Jump to

Keyboard shortcuts

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