hashmap

package
v2.3.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 25, 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 HashMap

type HashMap struct {
	RWLock sync.RWMutex
	// contains filtered or unexported fields
}

func NewHashMap

func NewHashMap() *HashMap

func (*HashMap) Add

func (db *HashMap) Add(key string, value interface{})

func (*HashMap) Get

func (db *HashMap) Get(key string) (value interface{}, ok bool)

func (*HashMap) Items

func (db *HashMap) Items() []interface{}

func (*HashMap) Len

func (db *HashMap) Len() int

func (*HashMap) Remove

func (db *HashMap) Remove(key string)

type Item

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

Jump to

Keyboard shortcuts

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