ccmap

package
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2022 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 ConcurrentMap

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

func NewConcurrentMap

func NewConcurrentMap() *ConcurrentMap

func (*ConcurrentMap) Delete

func (m *ConcurrentMap) Delete(k string)

func (*ConcurrentMap) Exists

func (m *ConcurrentMap) Exists(k string) bool

func (*ConcurrentMap) Find added in v1.2.7

func (m *ConcurrentMap) Find(accept func(k string, v interface{}) bool) (find bool)

func (*ConcurrentMap) ForEach added in v1.2.7

func (m *ConcurrentMap) ForEach(accept func(k string, v interface{}))

func (*ConcurrentMap) Get

func (m *ConcurrentMap) Get(k string) interface{}

func (*ConcurrentMap) GetOrDefault

func (m *ConcurrentMap) GetOrDefault(k string, _default interface{}) interface{}

func (*ConcurrentMap) Set

func (m *ConcurrentMap) Set(k string, v interface{})

func (*ConcurrentMap) Size added in v1.3.7

func (m *ConcurrentMap) Size() int

Jump to

Keyboard shortcuts

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