internal

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 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 Iterator

type Iterator interface {
	Next() Iterator
	Prev() Iterator
	Key() compare.Item
	Value() any
	SetValue(any)
	Delete() Iterator //返回下一个迭代器
}

type Map

type Map interface {
	PrintTree()
	PrintTreeIter()
	Store(key compare.Item, val any)
	Load(key compare.Item) (val any, ok bool)
	LoadAndStore(key compare.Item, val any) (old any, ok bool)
	Delete(key compare.Item) (any, bool)
	Clean() map[compare.Item]any
	BeginIterator() Iterator
	EndIterator() Iterator
	Range(func(Iterator) bool)
	Search(key compare.Item) Iterator
	Len() int
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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