linked_queue

package
v0.1.54 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LinkedQueue

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

func NewLinkedQueue

func NewLinkedQueue[T any]() *LinkedQueue[T]

func (*LinkedQueue[T]) Clear

func (l *LinkedQueue[T]) Clear() error

func (*LinkedQueue[T]) IsEmpty

func (l *LinkedQueue[T]) IsEmpty() bool

func (*LinkedQueue[T]) Pop

func (l *LinkedQueue[T]) Pop(ctx context.Context) (T, error)

func (*LinkedQueue[T]) Push

func (l *LinkedQueue[T]) Push(ctx context.Context, el T) error

func (*LinkedQueue[T]) Size

func (l *LinkedQueue[T]) Size() int

Jump to

Keyboard shortcuts

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