map_set

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2023 License: GPL-3.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 MapSet

type MapSet[K comparable, V any] map[K]V

func New

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

func (MapSet[K, V]) Delete

func (self MapSet[K, V]) Delete(key K)

func (MapSet[K, V]) Empty

func (self MapSet[K, V]) Empty() bool

func (MapSet[K, V]) Get

func (self MapSet[K, V]) Get(key K) V

func (MapSet[K, V]) Has

func (self MapSet[K, V]) Has(keys ...K) bool

func (MapSet[K, V]) Set

func (self MapSet[K, V]) Set(key K, value V)

func (MapSet[K, V]) Size

func (self MapSet[K, V]) Size() int

Jump to

Keyboard shortcuts

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