queue

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CrazyNumberQueue

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

CrazyNumberQueue is a queue of CrazyNumbers.

func NewCrazyNumberQueue

func NewCrazyNumberQueue() *CrazyNumberQueue

func (*CrazyNumberQueue) Pop

func (q *CrazyNumberQueue) Pop() int

func (*CrazyNumberQueue) Push

func (q *CrazyNumberQueue) Push(item int)

type Float32Queue

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

Float32Queue is a queue of Float32s.

func NewFloat32Queue

func NewFloat32Queue() *Float32Queue

func (*Float32Queue) Pop

func (q *Float32Queue) Pop() float32

func (*Float32Queue) Push

func (q *Float32Queue) Push(item float32)

type IntQueue

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

IntQueue is a queue of Ints.

func NewIntQueue

func NewIntQueue() *IntQueue

func (*IntQueue) Pop

func (q *IntQueue) Pop() int

func (*IntQueue) Push

func (q *IntQueue) Push(item int)

type Something

type Something generic.Type

Something is a type that does something

type SomethingQueue

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

SomethingQueue is a queue of Somethings.

func NewSomethingQueue

func NewSomethingQueue() *SomethingQueue

func (*SomethingQueue) Pop

func (q *SomethingQueue) Pop() Something

func (*SomethingQueue) Push

func (q *SomethingQueue) Push(item Something)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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