queue

package
v0.5.14 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2022 License: MIT Imports: 0 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

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

func New

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

func (*Manager[T]) AutoIncrement added in v0.3.0

func (m *Manager[T]) AutoIncrement() *Node[T]

func (*Manager[T]) Pop

func (m *Manager[T]) Pop() T

func (*Manager[T]) Push

func (m *Manager[T]) Push(v T) *Node[T]

func (*Manager[T]) Size

func (m *Manager[T]) Size() int

type Node added in v0.3.0

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

func (*Node[T]) SetValue added in v0.3.0

func (n *Node[T]) SetValue(v T)

Jump to

Keyboard shortcuts

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