Map

Overview

Location

  • Reference: Go.fx
  • Namespace: go.expvar
  • Platforms: Island


Instance Methods


constructor

 

constructor

 

Map()

 

init()

 

Sub New()

constructor (Map, RWMutex, Slice<string>)

 

constructor(am: Map; akeysMu: RWMutex; akeys: Slice<string>)

 

Map(Map am, RWMutex akeysMu, Slice<string> akeys)

 

init(_ am: Map, _ akeysMu: RWMutex, _ akeys: Slice<string>)

 

Sub New(am As Map, akeysMu As RWMutex, akeys As Slice<string>)

Parameters:

  • am:
  • akeysMu:
  • akeys:

constructor (Map)

 

constructor(value: Map)

 

Map(Map value)

 

init(_ value: Map)

 

Sub New(value As Map)

Parameters:

  • value:

String

 

method String: string

 

string String()

 

func String() -> string

 

func String() string

 

Function String() As string

Add

 

method Add(key: string; delta: int64)

 

void Add(string key, int64 delta)

 

func Add(_ key: string, _ delta: int64)

 

func Add(key string, delta int64) void

 

Sub Add(key As string, delta As int64)

Parameters:

  • key:
  • delta:

AddFloat

 

method AddFloat(key: string; delta: float64)

 

void AddFloat(string key, float64 delta)

 

func AddFloat(_ key: string, _ delta: float64)

 

func AddFloat(key string, delta float64) void

 

Sub AddFloat(key As string, delta As float64)

Parameters:

  • key:
  • delta:

Delete

 

method Delete(key: string)

 

void Delete(string key)

 

func Delete(_ key: string)

 

func Delete(key string) void

 

Sub Delete(key As string)

Parameters:

  • key:

Do

 

method Do(f: Action<go.expvar.KeyValue>)

 

void Do(Action<go.expvar.KeyValue> f)

 

func Do(_ f: Action<go.expvar.KeyValue>)

 

func Do(f Action<go.expvar.KeyValue>) void

 

Sub Do(f As Action<go.expvar.KeyValue>)

Parameters:

  • f:

Get

 

method Get(key: string): Var

 

Var Get(string key)

 

func Get(_ key: string) -> Var

 

func Get(key string) Var

 

Function Get(key As string) As Var

Parameters:

  • key:

Init

 

method Init: Memory<Map>

 

Memory<Map> Init()

 

func Init() -> Memory<Map>

 

func Init() Memory<Map>

 

Function Init() As Memory<Map>

Set

 

method Set(key: string; av: Var)

 

void Set(string key, Var av)

 

func Set(_ key: string, _ av: Var)

 

func Set(key string, av Var) void

 

Sub Set(key As string, av As Var)

Parameters:

  • key:
  • av:

 

Implements