linkedmap

package
v0.0.0-...-f420c12 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2022 License: BSD-2-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LinkedMap

type LinkedMap struct {
	ValuesByKey map[interface{}]*LinkedMapEntry
	First       *LinkedMapEntry
	Last        *LinkedMapEntry
}

func CreateLinkedMap

func CreateLinkedMap(size int) *LinkedMap

func (*LinkedMap) Get

func (this *LinkedMap) Get(key interface{}) interface{}

func (*LinkedMap) Set

func (this *LinkedMap) Set(key interface{}, value interface{}) interface{}

type LinkedMapEntry

type LinkedMapEntry struct {
	Value interface{}
	Next  *LinkedMapEntry
}

Jump to

Keyboard shortcuts

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