Documentation ¶
Index ¶
Constants ¶
View Source
const HASHSIZE = 5
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MyHashNode ¶
type MyHashNode struct { Key HashKey Value string Next *MyHashNode }
type MyHashTable ¶
type MyHashTable struct {
// contains filtered or unexported fields
}
func NewHashTable ¶
func NewHashTable() *MyHashTable
func (*MyHashTable) Install ¶
func (h *MyHashTable) Install(src string)
func (*MyHashTable) LookUp ¶
func (h *MyHashTable) LookUp(src string) *MyHashNode
Click to show internal directories.
Click to hide internal directories.