omap

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Empty

func Empty[K comparable, V any]() *ordered.Map[K, V]

Empty instantiates Map with zero capacity.

func New

func New[K comparable, V any](capacity int) *ordered.Map[K, V]

New instantiates Map with a predefined capacity.

func Of

func Of[K comparable, V any](elements ...c.KV[K, V]) *ordered.Map[K, V]

Of instantiates Map with predefined elements.

Types

This section is empty.

Jump to

Keyboard shortcuts

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