internal

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 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() any
	Value() any
	SetValue(any)
	Delete() Iterator //返回下一个迭代器
}

type Map

type Map interface {
	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)
	Begin() Iterator
	End() Iterator
	Find(key compare.Item) Iterator
	Len() int
	PrintTree()
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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