Documentation ¶
Index ¶
- type ConcurrentMap
- func (m *ConcurrentMap) Delete(k string)
- func (m *ConcurrentMap) Exists(k string) bool
- func (m *ConcurrentMap) Find(accept func(k string, v interface{}) bool) (find bool)
- func (m *ConcurrentMap) ForEach(accept func(k string, v interface{}))
- func (m *ConcurrentMap) Get(k string) interface{}
- func (m *ConcurrentMap) GetOrDefault(k string, _default interface{}) interface{}
- func (m *ConcurrentMap) Set(k string, v interface{})
- func (m *ConcurrentMap) Size() int
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
Click to show internal directories.
Click to hide internal directories.