queue

package module
v0.0.0-...-e78141b Latest Latest
Warning

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

Go to latest
Published: May 6, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

queue provides the Queue data structure interface.

A Queue is a first in, first out contiguous slice of memory.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Queue

type Queue[T any] interface {
	PushBack(T)
	PopFront() (*T, error)
}

Queue is an interface for collections that can represent a FIFO queue.

Jump to

Keyboard shortcuts

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