Class HashDictionary<K, V>
A generic dictionary class based on a hash set class C5.HashSet`1.
Inheritance
System.Object
EnumerableBase<KeyValuePair<K, V>>
CollectionValueBase<KeyValuePair<K, V>>
DictionaryBase<K, V>
HashDictionary<K, V>
Inherited Members
Assembly: DistributedLucene.Net.dll
Syntax
public class HashDictionary<K, V> : DictionaryBase<K, V>, IDictionary<K, V>, ICollectionValue<KeyValuePair<K, V>>, Collections.Generic.IEnumerable<KeyValuePair<K, V>>, IShowable, IFormattable
Type Parameters
Name | Description |
---|---|
K | |
V |
Constructors
Name | Description |
---|---|
HashDictionary(MemoryType) | Create a hash dictionary using a default equalityComparer for the keys. Initial capacity of internal table will be 16 entries and threshold for expansion is 66% fill. |
HashDictionary(Collections.Generic.IEqualityComparer<K>, MemoryType) | Create a hash dictionary using a custom equalityComparer for the keys. Initial capacity of internal table will be 16 entries and threshold for expansion is 66% fill. |
HashDictionary(Int32, Double, Collections.Generic.IEqualityComparer<K>, MemoryType) | Create a hash dictionary using a custom equalityComparer and prescribing the initial size of the dictionary and a non-default threshold for internal table expansion. |