mapmap

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: May 31, 2024 License: Apache-2.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 BiMap added in v1.1.0

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

1 value: n keys 1 key: 1 value

func NewBiMap added in v1.1.0

func NewBiMap() *BiMap

func (*BiMap) Del added in v1.1.0

func (bm *BiMap) Del(key any) bool

func (*BiMap) DelValue added in v1.1.0

func (bm *BiMap) DelValue(value any) bool

func (*BiMap) GetKeys added in v1.1.0

func (bm *BiMap) GetKeys(value any) ([]any, bool)

func (*BiMap) GetValue added in v1.1.0

func (bm *BiMap) GetValue(key any) (any, bool)

func (*BiMap) Set added in v1.1.0

func (bm *BiMap) Set(key, value any)

type MapMap

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

func NewMapMap

func NewMapMap() *MapMap

func (*MapMap) MDel

func (mm *MapMap) MDel(key, subkey any)

func (*MapMap) MDelAll

func (mm *MapMap) MDelAll(key any)

func (*MapMap) MGet

func (mm *MapMap) MGet(key, subkey any) any

func (*MapMap) MGetAll

func (mm *MapMap) MGetAll(key any) []any

func (*MapMap) MSet

func (mm *MapMap) MSet(key, subkey, value any)

Jump to

Keyboard shortcuts

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