Map

Description

sealed class Tinman.Core.Collections.Map
<TKey>
<TValue>

Derived from

MapConstBase<TKey, TValue> abstract
IMap<TKey, TValue>

An implementation of the IMap interface that uses a hashtable for storing the key/value pairs.

Public / Constructors

Map

3 overloads


public constructor Map1 → (1)

capacity opt : int32 = 12

[>=0]
The initial capacity of the dictionary, in key/value pairs.

Creates a new instance of Map.

The equality delegate is SystemUtilGeneric.EqualsDefault.
The hash code delegate is SystemUtilGeneric.HashCodeDefault.


public constructor Map2 → (2)

equals in : EqualsDelegate<TKey>

Optional equality comparer. If null, SystemUtilGeneric.EqualsDefault will be used.

capacity opt : int32 = 12

[>=0]
The initial capacity of the dictionary, in key/value pairs.

Creates a new instance of Map.

The hash code delegate is SystemUtilGeneric.HashCodeDefault.


public constructor Map3 → (3)

equals in : EqualsDelegate<TKey>

Optional equality comparer. If null, SystemUtilGeneric.EqualsDefault will be used.

hashCode in : HashCodeDelegate<TKey>

Optional hash code delegate. If null, SystemUtilGeneric.HashCodeDefault will be used.

capacity opt : int32 = 12

[>=0]
The initial capacity of the dictionary, in key/value pairs.

Creates a new instance of Map.