sortlist

package
v0.1.10 Latest Latest
Warning

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

Go to latest
Published: May 29, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SortList

type SortList struct {
	SList []SortNode
}

func (*SortList) Clear

func (sl *SortList) Clear()

func (*SortList) Erase

func (sl *SortList) Erase(key uint64) int

func (*SortList) Find

func (sl *SortList) Find(key uint64) interface{}

func (*SortList) Insert

func (sl *SortList) Insert(key uint64, value interface{})

func (*SortList) List

func (sl *SortList) List() []SortNode

func (*SortList) Size

func (sl *SortList) Size() int

type SortNode

type SortNode struct {
	Key   uint64
	Value interface{}
}

Jump to

Keyboard shortcuts

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