Provides a hash-based implementation of IDictionary<TKey,TValue>.
Delphi
THashDictionary<TKey,TValue> = class(TInterfacedObject, IDictionary<TKey,TValue>)
Type Parameters
- TKey
The type of keys in the dictionary.
- TValue
The type of values in the dictionary.
- Inheritance
-
TInterfacedObjectTHashDictionary<TKey,TValue>
- Implements
This class is the default implementation returned by
TCollections.CreateDictionary<TKey,TValue>.
| Create |
Initializes a new instance of the THashDictionary<TKey,TValue> class. |
| Create(IEqualityComparer<TKey>) |
Initializes a new instance of the THashDictionary<TKey,TValue> class with a key comparer. |
| Destroy |
Releases the resources used by the dictionary. |