table

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2022 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HashCode

func HashCode(source interface{}) uint64

Types

type HashTable

type HashTable struct {
	M int
	// contains filtered or unexported fields
}

func NewHashTable

func NewHashTable() *HashTable

func (*HashTable) Add

func (h *HashTable) Add(key interface{}, value interface{})

func (*HashTable) Contains

func (h *HashTable) Contains(key interface{}) bool

func (*HashTable) Get

func (h *HashTable) Get(key interface{}) interface{}

func (*HashTable) GetSize

func (h *HashTable) GetSize() int

func (*HashTable) Remove

func (h *HashTable) Remove(key interface{}) interface{}

func (*HashTable) Set

func (h *HashTable) Set(key interface{}, value interface{}) bool

Jump to

Keyboard shortcuts

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