skiplist

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: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SkipList

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

func NewSkipList

func NewSkipList() *SkipList

func (*SkipList) Get

func (sl *SkipList) Get(score int64) interface{}

func (*SkipList) Insert

func (sl *SkipList) Insert(score int64, val interface{})

func (*SkipList) Levels

func (sl *SkipList) Levels() int

func (*SkipList) Print

func (sl *SkipList) Print()

func (*SkipList) Remove

func (sl *SkipList) Remove(score int64) interface{}

func (*SkipList) Size

func (sl *SkipList) Size() int

Jump to

Keyboard shortcuts

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