hashmap

package module
v0.0.0-...-c4cfe05 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 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[K comparable, V any] struct {
	*vector.Vector[map[K]V]
	maphash.Hash
}

func New

func New[K comparable, V any]() HashMap[K, V]

func (*HashMap[K, V]) Collect

func (m *HashMap[K, V]) Collect(values ...MapPair[K, V])

func (*HashMap[K, V]) Set

func (m *HashMap[K, V]) Set(key K, val V) error

type MapPair

type MapPair[K, V any] struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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