pathological

package
v0.0.0-...-ed1d3aa Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Unlicense Imports: 1 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 interface {
	Enqueue(value interface{})
	Dequeue() (value interface{}, ok bool)
}

type ScLifo

type ScLifo struct {
	// contains filtered or unexported fields
}

func NewScLifo

func NewScLifo() *ScLifo

func (*ScLifo) Dequeue

func (q *ScLifo) Dequeue() (interface{}, bool)

func (*ScLifo) Enqueue

func (q *ScLifo) Enqueue(value interface{})

type SmLifo

type SmLifo struct {
	// contains filtered or unexported fields
}

func NewSmLifo

func NewSmLifo() *SmLifo

func (*SmLifo) Dequeue

func (q *SmLifo) Dequeue() (interface{}, bool)

func (*SmLifo) Enqueue

func (q *SmLifo) Enqueue(value interface{})

Jump to

Keyboard shortcuts

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