search

package
v0.0.0-...-2b89176 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2024 License: Apache-2.0 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
}

HashMap 拉链法自实现的简单hashmap

func NewHashMap

func NewHashMap() *HashMap

NewHashMap 创建hashmap

func (*HashMap) Delete

func (m *HashMap) Delete(key string) bool

Delete 删除元素

func (*HashMap) Get

func (m *HashMap) Get(key string) interface{}

Get 查找元素

func (*HashMap) Put

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

Put 插入元素

Jump to

Keyboard shortcuts

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