prque

package
v0.0.0-...-5d85a61 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2023 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Prque

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

func New

func New(setIndex setIndexCallback) *Prque

func (*Prque) Empty

func (p *Prque) Empty() bool

func (*Prque) Pop

func (p *Prque) Pop() (interface{}, int64)

func (*Prque) PopItem

func (p *Prque) PopItem() interface{}

func (*Prque) Push

func (p *Prque) Push(data interface{}, priority int64)

func (*Prque) Remove

func (p *Prque) Remove(i int) interface{}

func (*Prque) Reset

func (p *Prque) Reset()

func (*Prque) Size

func (p *Prque) Size() int

Jump to

Keyboard shortcuts

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