glist

package
v0.0.0-...-bad6181 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SortedList

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

func NewSortedList

func NewSortedList() *SortedList

func (*SortedList) Init

func (sl *SortedList) Init()

func (*SortedList) Len

func (sl *SortedList) Len() int

func (*SortedList) PopMaxWeight

func (sl *SortedList) PopMaxWeight() (weight int64, value interface{}, exist bool)

func (*SortedList) PopMinWeight

func (sl *SortedList) PopMinWeight() (weight int64, value interface{}, exist bool)

func (*SortedList) Println

func (sl *SortedList) Println()

func (*SortedList) Push

func (sl *SortedList) Push(weight int64, value interface{})

Jump to

Keyboard shortcuts

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