linkedlistqueue

package
v0.0.0-...-73cdf94 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 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 LinkedListQueue

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

func NewLinkedListQueue

func NewLinkedListQueue() *LinkedListQueue

func (*LinkedListQueue) Dequeue

func (l *LinkedListQueue) Dequeue() interface{}

出队

func (*LinkedListQueue) Enqueue

func (l *LinkedListQueue) Enqueue(e interface{})

入队

func (*LinkedListQueue) GetFront

func (l *LinkedListQueue) GetFront() interface{}

func (*LinkedListQueue) IsEmpty

func (l *LinkedListQueue) IsEmpty() bool

func (*LinkedListQueue) Len

func (l *LinkedListQueue) Len() int

func (*LinkedListQueue) String

func (l *LinkedListQueue) String() string

type Node

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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