queue

package
v0.0.0-...-9e67e2f Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2024 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 Queue

type Queue[T any] struct {
	// contains filtered or unexported fields
}

func New

func New[T any]() *Queue[T]

func (*Queue[T]) Back

func (q *Queue[T]) Back() T

func (*Queue[T]) Clear

func (q *Queue[T]) Clear()

func (*Queue[T]) Empty

func (q *Queue[T]) Empty() bool

func (*Queue[T]) Front

func (q *Queue[T]) Front() T

func (*Queue[T]) Pop

func (q *Queue[T]) Pop() T

func (*Queue[T]) Push

func (q *Queue[T]) Push(val T)

func (*Queue[T]) Size

func (q *Queue[T]) Size() int

func (*Queue[T]) String

func (q *Queue[T]) String() string

Jump to

Keyboard shortcuts

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