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