hashmap

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2021 License: MIT Imports: 1 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 {
	// contains filtered or unexported fields
}

func New

func New() *HashMap

New instantiates a hash map.

func (*HashMap) Clear

func (hm *HashMap) Clear()

func (*HashMap) Empty

func (hm *HashMap) Empty() bool

func (*HashMap) Get

func (hm *HashMap) Get(key interface{}) (value interface{}, isfound bool)

func (*HashMap) Keys

func (hm *HashMap) Keys() []interface{}

func (*HashMap) Put

func (hm *HashMap) Put(key interface{}, value interface{})

Put inserts element into the map.

func (*HashMap) Remove

func (hm *HashMap) Remove(key interface{})

func (*HashMap) Size

func (hm *HashMap) Size() int

func (*HashMap) String

func (hm *HashMap) String() string

func (*HashMap) Values

func (hm *HashMap) Values() []interface{}

Jump to

Keyboard shortcuts

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