Map<K,V>
Overview
Location
-
Reference:
- Go.dll .NET, .NET Standard 2.0
- Go.fx Island
- Namespace: go.builtin
- Platforms: .NET, .NET Standard 2.0, Island
constructor
constructor (array of tuple of (K, V))
constructor(aArgs: array of tuple of (K, V))
init(_ aArgs: tuple of (K, V)...)
Sub New(aArgs As Tuple (Of K, V)())
Parameters:
- aArgs:
constructor (int)
Parameters:
- aCap:
Parameters:
- aCap:
constructor (array of K, array of V)
constructor(aKeys: array of K; aValues: array of V)
Map<K,V>(K[] aKeys, V[] aValues)
init(_ aKeys: K..., _ aValues: V...)
Sub New(aKeys As K(), aValues As V())
Parameters:
- aKeys:
- aValues:
constructor(value: Map<K, V>)
Map<K,V>(Map<K, V> value)
Sub New(value As Map<K, V>)
Parameters:
- value:
Add
// .NET, .NET Standard 2.0
func Add(a K, b V)
// Island
func Add(a K, b V) void
Parameters:
- a:
- b:
Delete
// .NET, .NET Standard 2.0
func Delete(aKey K)
// Island
func Delete(aKey K) void
Parameters:
- aKey:
Get
func Get(_ aItem: K) -> V
Function Get(aItem As K) As V
Parameters:
- aItem:
GetLen
Function GetLen() As Int32
GetReflectKeys
method GetReflectKeys: Slice<Value>
Slice<Value> GetReflectKeys()
func GetReflectKeys() -> Slice<Value>
func GetReflectKeys() Slice<Value>
Function GetReflectKeys() As Slice<Value>
GetReflectSequence
method GetReflectSequence: IEnumerable<tuple of (Value, Value)>
IEnumerable<tuple of (Value, Value)> GetReflectSequence()
func GetReflectSequence() -> IEnumerable<tuple of (Value, Value)>
func GetReflectSequence() IEnumerable<tuple of (Value, Value)>
Function GetReflectSequence() As IEnumerable<tuple of (Value, Value)>
GetReflectValue
method GetReflectValue(aKey: Value): Value
Value GetReflectValue(Value aKey)
func GetReflectValue(_ aKey: Value) -> Value
func GetReflectValue(aKey Value) Value
Function GetReflectValue(aKey As Value) As Value
Parameters:
- aKey:
GetSequence
method GetSequence: IEnumerable<tuple of (K, V)>
IEnumerable<tuple of (K, V)> GetSequence()
func GetSequence() -> IEnumerable<tuple of (K, V)>
func GetSequence() IEnumerable<tuple of (K, V)>
Function GetSequence() As IEnumerable<tuple of (K, V)>
Item
property Item[aItem: K]: tuple of (V, Boolean) read;
(V, Boolean) Item[K aItem] { get; }
subscript Item(_ aItem: K) -> tuple of (V, Boolean) { get{} }
Item[[aItem K]] tuple of (V, Boolean)
ReadOnly Property Item(aItem As K) As Tuple (Of V, Boolean)
Item
property Item[aItem: K]: V write;
subscript Item(_ aItem: K) -> V { set{} }
WriteOnly Property Item(aItem As K) As V
Length
property Length: Int32 read;
var Length: Int32 { get{} }
ReadOnly Property Length() As Int32
SetReflectKeyValue
method SetReflectKeyValue(aKey: Value; aValue: Value)
void SetReflectKeyValue(Value aKey, Value aValue)
func SetReflectKeyValue(_ aKey: Value, _ aValue: Value)
// .NET, .NET Standard 2.0
func SetReflectKeyValue(aKey Value, aValue Value)
// Island
func SetReflectKeyValue(aKey Value, aValue Value) void
Sub SetReflectKeyValue(aKey As Value, aValue As Value)
Parameters:
- aKey:
- aValue:
Zero
class property Zero: Map<K, V> read write;
class Map<K, V> Zero { get; set; }
static var Zero: Map<K, V> { get{} set{} }
Shared Property Zero() As Map<K, V>
Item
property Item[aItem: K]: tuple of (V, Boolean) read;
(V, Boolean) Item[K aItem] { get; }
subscript Item(_ aItem: K) -> tuple of (V, Boolean) { get{} }
Item[[aItem K]] tuple of (V, Boolean)
ReadOnly Property Item(aItem As K) As Tuple (Of V, Boolean)
Item
property Item[aItem: K]: V write;
subscript Item(_ aItem: K) -> V { set{} }
WriteOnly Property Item(aItem As K) As V
Length
property Length: Int32 read;
var Length: Int32 { get{} }
ReadOnly Property Length() As Int32
Zero
class property Zero: Map<K, V> read write;
class Map<K, V> Zero { get; set; }
static var Zero: Map<K, V> { get{} set{} }
Shared Property Zero() As Map<K, V>
constructor
constructor (array of tuple of (K, V))
constructor(aArgs: array of tuple of (K, V))
init(_ aArgs: tuple of (K, V)...)
Sub New(aArgs As Tuple (Of K, V)())
Parameters:
- aArgs:
constructor (int)
Parameters:
- aCap:
Parameters:
- aCap:
constructor (array of K, array of V)
constructor(aKeys: array of K; aValues: array of V)
Map<K,V>(K[] aKeys, V[] aValues)
init(_ aKeys: K..., _ aValues: V...)
Sub New(aKeys As K(), aValues As V())
Parameters:
- aKeys:
- aValues:
constructor(value: Map<K, V>)
Map<K,V>(Map<K, V> value)
Sub New(value As Map<K, V>)
Parameters:
- value:
Add
// .NET, .NET Standard 2.0
func Add(a K, b V)
// Island
func Add(a K, b V) void
Parameters:
- a:
- b:
Delete
// .NET, .NET Standard 2.0
func Delete(aKey K)
// Island
func Delete(aKey K) void
Parameters:
- aKey:
Get
func Get(_ aItem: K) -> V
Function Get(aItem As K) As V
Parameters:
- aItem:
GetLen
Function GetLen() As Int32
GetReflectKeys
method GetReflectKeys: Slice<Value>
Slice<Value> GetReflectKeys()
func GetReflectKeys() -> Slice<Value>
func GetReflectKeys() Slice<Value>
Function GetReflectKeys() As Slice<Value>
GetReflectSequence
method GetReflectSequence: IEnumerable<tuple of (Value, Value)>
IEnumerable<tuple of (Value, Value)> GetReflectSequence()
func GetReflectSequence() -> IEnumerable<tuple of (Value, Value)>
func GetReflectSequence() IEnumerable<tuple of (Value, Value)>
Function GetReflectSequence() As IEnumerable<tuple of (Value, Value)>
GetReflectValue
method GetReflectValue(aKey: Value): Value
Value GetReflectValue(Value aKey)
func GetReflectValue(_ aKey: Value) -> Value
func GetReflectValue(aKey Value) Value
Function GetReflectValue(aKey As Value) As Value
Parameters:
- aKey:
GetSequence
method GetSequence: IEnumerable<tuple of (K, V)>
IEnumerable<tuple of (K, V)> GetSequence()
func GetSequence() -> IEnumerable<tuple of (K, V)>
func GetSequence() IEnumerable<tuple of (K, V)>
Function GetSequence() As IEnumerable<tuple of (K, V)>
SetReflectKeyValue
method SetReflectKeyValue(aKey: Value; aValue: Value)
void SetReflectKeyValue(Value aKey, Value aValue)
func SetReflectKeyValue(_ aKey: Value, _ aValue: Value)
// .NET, .NET Standard 2.0
func SetReflectKeyValue(aKey Value, aValue Value)
// Island
func SetReflectKeyValue(aKey Value, aValue Value) void
Sub SetReflectKeyValue(aKey As Value, aValue As Value)
Parameters:
- aKey:
- aValue: