mapx

package
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSorted

func NewSorted() *sorted

Types

type Map

type Map interface {
	Put(key, value interface{}, ex ...bool)
	Get(key interface{}) (interface{}, bool)
	ContainsKey(key interface{}) bool
	Remove(key interface{}) (interface{}, bool)
	Removes(keys ...interface{})
	Replace(key, value interface{}, nx ...bool) (interface{}, bool)
	Keys() []interface{}
	Values() []interface{}
	ForEach(f func(key, value interface{}) bool)

	Size() int
	IsEmpty() bool
	Clear()
	Copy() Map
}

Jump to

Keyboard shortcuts

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