Documentation ¶
Index ¶
- type HashMap
- func (m *HashMap) Add(key, value interface{}) error
- func (m *HashMap) AddOrUpdate(key interface{}, value interface{})
- func (m *HashMap) AddPair(pair Pair) error
- func (m *HashMap) Clear()
- func (m *HashMap) Contains(key interface{}) bool
- func (m *HashMap) Count() int
- func (m *HashMap) Find(key interface{}) (interface{}, bool)
- func (m *HashMap) Init() *HashMap
- func (m *HashMap) Keys() []interface{}
- func (m *HashMap) Len() int
- func (m *HashMap) Pairs() []Pair
- func (m *HashMap) Peek(key interface{}) (interface{}, bool)
- func (m *HashMap) Remove(key interface{}) interface{}
- func (m *HashMap) Size() int
- func (m *HashMap) Values() []interface{}
- type Pair
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HashMap ¶
type HashMap struct {
// contains filtered or unexported fields
}
HashMap is an auto make map
func (*HashMap) AddOrUpdate ¶
func (m *HashMap) AddOrUpdate(key interface{}, value interface{})
Click to show internal directories.
Click to hide internal directories.