hashmap

package
v0.0.0-...-0e61b49 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2023 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] map[K]V

func From

func From[K comparable, V any](m map[K]V) HashMap[K, V]

func (HashMap[K, V]) Delete

func (hm HashMap[K, V]) Delete(key K)

func (HashMap[K, V]) ElemType

func (HashMap[K, V]) ElemType(V)

func (HashMap[K, V]) Get

func (hm HashMap[K, V]) Get(key K) maybe.Maybe[V]

func (HashMap[K, V]) Has

func (hm HashMap[K, V]) Has(key K) bool

func (HashMap[K, V]) Kind

func (HashMap[K, V]) Kind(HashMapKind)

func (HashMap[K, V]) Set

func (hm HashMap[K, V]) Set(key K, v V) HashMap[K, V]

type HashMapKind

type HashMapKind types.Kind

Jump to

Keyboard shortcuts

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