Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HashMap ¶
func (*HashMap[K, V]) Insert ¶
func (m *HashMap[K, V]) Insert(key K, value V)
Insert inserts a value to the map with given key. Insert also checks if the buckets are need to grow by load factor threshold. If is that, buckets will be re-hashed and re-filled.
type Hashable ¶
type Hashable interface { constraints.Signed | constraints.Unsigned | constraints.Float | ~uintptr | ~string }
Click to show internal directories.
Click to hide internal directories.