hashmap

package
v0.0.0-...-1023f2c Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2018 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Item

type Item struct {
	Key   K
	Value V
}

type K

type K interface {
	Hash() uint64
	Equal(K) bool
}

type Map

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

func New

func New() *Map

func (*Map) Delete

func (m *Map) Delete(key K) bool

func (*Map) Get

func (m *Map) Get(key K) (V, bool)

func (*Map) Set

func (m *Map) Set(key K, val V)

type V

type V = interface{}

Jump to

Keyboard shortcuts

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