Movatterモバイル変換


[0]ホーム

URL:


orderedmap

package
v1.3.1Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2025 License:GPL-3.0Imports:4Imported by:0

Details

Repository

github.com/arduino/arduino-cli

Links

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

typeMap

type Map[Kany, Vany] interface {Get(K) VGetOk(key K) (V,bool)Set(K, V)Size()intContainsKey(key K)boolKeys() []KMerge(...Map[K, V])Map[K, V]SortKeys(f func(x, y K)int)SortStableKeys(f func(x, y K)int)Values() []VClone()Map[K, V]Remove(key K)MarshalJSON() ([]byte,error)}

Map is a map that keeps ordering insertion.

funcNew

func New[K scalars, Vany]()Map[K, V]

New creates a map

funcNewWithConversionFunc

func NewWithConversionFunc[Kany, Vany, C scalars](conv func(K) C)Map[K, V]

NewWithConversionFunc creates a map using the given conversion functionto convert non-comparable key type to comparable items.The conversion function must be bijective.

Source Files

View all Source files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp