hash

package
v0.0.0-...-63bc8f3 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChainingHashTable

type ChainingHashTable struct {
	// contains filtered or unexported fields
}

func NewChainingHashTable

func NewChainingHashTable(numBuckets int) *ChainingHashTable

func (*ChainingHashTable) Contains

func (hashTable *ChainingHashTable) Contains(name string) bool

func (*ChainingHashTable) Delete

func (hashTable *ChainingHashTable) Delete(name string)

func (*ChainingHashTable) Dump

func (hashTable *ChainingHashTable) Dump()

func (*ChainingHashTable) Get

func (hashTable *ChainingHashTable) Get(name string) string

func (*ChainingHashTable) Set

func (hashTable *ChainingHashTable) Set(name string, phone string)

Jump to

Keyboard shortcuts

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