queue

package
Version: v0.0.0-...-402b6c2 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2014 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 Element

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

type Queue

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

func New

func New() *Queue

func (*Queue) Dequeue

func (q *Queue) Dequeue() interface{}

alias to Pop()

func (*Queue) Enqueue

func (q *Queue) Enqueue(value interface{})

alias to Push()

func (*Queue) IsEmpty

func (q *Queue) IsEmpty() bool

func (*Queue) Len

func (q *Queue) Len() int

func (*Queue) Peep

func (q *Queue) Peep() interface{}

func (*Queue) Pop

func (q *Queue) Pop() interface{}

func (*Queue) Push

func (q *Queue) Push(value interface{})

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL