Documentation
¶
Index ¶
- type QuickMap
- func (m *QuickMap) Delete(key string)
- func (m *QuickMap) DeleteMany(keys []string)
- func (m *QuickMap) ForEach(f func(key string, value interface{}))
- func (m *QuickMap) Get(key string) (interface{}, bool)
- func (m *QuickMap) Insert(key string, value interface{})
- func (m *QuickMap) InsertMany(pairs map[string]interface{})
- func (m *QuickMap) Size() int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type QuickMap ¶
type QuickMap struct {
// contains filtered or unexported fields
}
QuickMap represents a hash table
func NewWithCapacity ¶
NewWithCapacity creates and returns a new QuickMap with the specified initial capacity
func (*QuickMap) DeleteMany ¶
DeleteMany removes multiple keys from the map
func (*QuickMap) ForEach ¶
ForEach iterates over all key-value pairs in the QuickMap and applies the given function
func (*QuickMap) InsertMany ¶
InsertMany adds multiple key-value pairs to the map
Click to show internal directories.
Click to hide internal directories.