linear_probing_hash_table

package
v0.0.0-...-8859e38 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2018 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 Key

type Key string

type LinearProbingHT

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

func NewEmptyLinearProbingHT

func NewEmptyLinearProbingHT() LinearProbingHT

func NewSizedLinearProbingHT

func NewSizedLinearProbingHT(size int) LinearProbingHT

func (*LinearProbingHT) Contains

func (ht *LinearProbingHT) Contains(k Key) bool

func (*LinearProbingHT) Delete

func (ht *LinearProbingHT) Delete(k Key)

func (*LinearProbingHT) Get

func (ht *LinearProbingHT) Get(k Key) (Value, error)

func (*LinearProbingHT) IsEmpty

func (ht *LinearProbingHT) IsEmpty() bool

func (*LinearProbingHT) Put

func (ht *LinearProbingHT) Put(k Key, v Value)

func (*LinearProbingHT) Size

func (ht *LinearProbingHT) Size() int

type Value

type Value int

Jump to

Keyboard shortcuts

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