queue

package
v0.0.0-...-ac8e18f Latest Latest
Warning

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

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

type Queue[T any] interface {
	Append(v T)
	PopFront() T
	Len() int
}

func NewQueue

func NewQueue[T any]() Queue[T]

type QueueImpl

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

Queue implementation

func (*QueueImpl[T]) Append

func (q *QueueImpl[T]) Append(v T)

func (*QueueImpl[T]) Len

func (q *QueueImpl[T]) Len() int

func (*QueueImpl[T]) PopFront

func (q *QueueImpl[T]) PopFront() T

Jump to

Keyboard shortcuts

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