skiplist

package
v0.0.0-...-0158116 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 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 List

type List[K trait.Comparable, V any] struct {
	// contains filtered or unexported fields
}

func NewList

func NewList[K trait.Comparable, V any](maxLevel int) *List[K, V]

func (*List[K, V]) Delete

func (l *List[K, V]) Delete(key K)

func (*List[K, V]) Find

func (l *List[K, V]) Find(key K) *Node[K, V]

func (*List[K, V]) Insert

func (l *List[K, V]) Insert(key K, value V)

type Node

type Node[K trait.Comparable, V any] struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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