internal Enumerator(HashMap <TKey, TValue> m, Dictionary <TKey, TValue> .ValueCollection.Enumerator e) { this.m = m; this.e = e; this.p = -1; }
internal KeyCollection(HashMap <TKey, TValue> m, Dictionary <TKey, TValue> .KeyCollection keys) { this.m = m; this.keys = keys; }
internal ValueCollection(HashMap <TKey, TValue> m, Dictionary <TKey, TValue> .ValueCollection values) { this.m = m; this.values = values; }
/// <summary> /// Default ctor /// </summary> public Dictionary(IEqualityComparer <TKey> comparer) { map = new HashMap <TKey, TValue>(); }
internal HashMapEnumerator(HashMap <TKey, TValue> m, IDictionaryEnumerator e) { this.m = m; this.e = e; this.p = -1; }
/// <summary> /// Default ctor /// </summary> public Dictionary(Dictionary <TKey, TValue> source) { map = new HashMap <TKey, TValue>(source.map); }
/// <summary> /// Creates an Dictionary with the given capacity /// </summary> public Dictionary(int capacity) { map = new HashMap <TKey, TValue>(capacity); }
/// <summary> /// Default ctor /// </summary> public Dictionary() { map = new HashMap <TKey, TValue>(); }
/// <summary> /// Default ctor /// </summary> public DictionaryImplHashMapWithComparerWrapper(IEqualityComparer <TKey> comparer) { map = new HashMap <KeyWrapper <TKey>, TValue>(); this.comparer = comparer; }
/// <summary> /// Default ctor /// </summary> public DictionaryImplHashMapWithComparerWrapper(DictionaryImplHashMapWithComparerWrapper <TKey, TValue> source) { map = new HashMap <KeyWrapper <TKey>, TValue>(source.map); comparer = source.Comparer; }