Documentation ¶
Index ¶
Constants ¶
View Source
const MAP_SIZE = 1000
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HashMap ¶
type HashMap struct {
Data []*Node
}
func (*HashMap) Get ¶
*
- Get an element from the HashMap
- @param key
- @param value
- @return (value, true) if element exists
- (-1, false) otherwise *
func (*HashMap) Insert ¶
*
- Insert a new element in the HashMap
- @param key
- @param value
- NOTE: collision are handled with linked list *
func (*HashMap) PrintHMbuff ¶
func (h *HashMap) PrintHMbuff()
Click to show internal directories.
Click to hide internal directories.