package
Version:
v0.0.19
Opens a new window with list of versions in this module.
Published: Nov 15, 2025
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package map_ provides unordered mutable.Map constructors
-
func Empty[K comparable, V any]() *mutable.Map[K, V]
-
func FromSeq2[K comparable, V any](seq seq.Seq2[K, V]) *mutable.Map[K, V]
-
func New[K comparable, V any](capacity int) *mutable.Map[K, V]
-
func Of[K comparable, V any](elements ...c.KV[K, V]) *mutable.Map[K, V]
Empty instantiates a Map with zero capacity.
FromSeq2 creates a map with elements retrieved by the seq.
New instantiates a Map with a predefined capacity.
Of instantiates a ap from the specified key/value pairs
Source Files
¶
Click to show internal directories.
Click to hide internal directories.