Help us shape the future of Go! Take the 2026 Go Developer Survey

orderedmap

package
v2.11.0 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSkipList

func NewSkipList(lesser func(l, r interface{}) bool) *skiplistOrderedMap

Types

type GoogleBTree

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

func NewGoogleBTree

func NewGoogleBTree(lesser func(l, r interface{}) bool) *GoogleBTree

func (*GoogleBTree) Get

func (me *GoogleBTree) Get(key interface{}) interface{}

func (*GoogleBTree) GetOk

func (me *GoogleBTree) GetOk(key interface{}) (interface{}, bool)

func (*GoogleBTree) Iter

func (me *GoogleBTree) Iter(f iter.Callback)

func (*GoogleBTree) Len

func (me *GoogleBTree) Len() int

func (*GoogleBTree) Set

func (me *GoogleBTree) Set(key interface{}, value interface{})

func (*GoogleBTree) Unset

func (me *GoogleBTree) Unset(key interface{})

type Iter

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

func (*Iter) Next

func (me *Iter) Next() bool

func (*Iter) Value

func (me *Iter) Value() interface{}

type OrderedMap

type OrderedMap interface {
	Get(key interface{}) interface{}
	GetOk(key interface{}) (interface{}, bool)
	iter.Iterable
	Set(key, value interface{})
	Unset(key interface{})
	Len() int
}

func New

func New(lesser func(l, r interface{}) bool) OrderedMap

Jump to

Keyboard shortcuts

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