Documentation ¶
Overview ¶
Package datastructure implements some data structure. eg. list, linklist, stack, queue, tree, graph.
Index ¶
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 implements a hash map
func NewHashMapWithCapacity ¶
NewHashMapWithCapacity return a HashMap instance with given size and capacity
func (*HashMap) Iterate ¶
Iterate executes iteratee funcation for every key and value pair of hashmap (random order)
Click to show internal directories.
Click to hide internal directories.