HashTable

package
v0.0.0-...-6ff31ab Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 19, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const HASHSIZE = 5

Variables

This section is empty.

Functions

This section is empty.

Types

type HashKey

type HashKey int32

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL