Exemple #1
0
 internal Enumerator(HashMap <TKey, TValue> m, Dictionary <TKey, TValue> .ValueCollection.Enumerator e)
 {
     this.m = m;
     this.e = e;
     this.p = -1;
 }
Exemple #2
0
 internal KeyCollection(HashMap <TKey, TValue> m, Dictionary <TKey, TValue> .KeyCollection keys)
 {
     this.m    = m;
     this.keys = keys;
 }
Exemple #3
0
 internal ValueCollection(HashMap <TKey, TValue> m, Dictionary <TKey, TValue> .ValueCollection values)
 {
     this.m      = m;
     this.values = values;
 }
Exemple #4
0
 /// <summary>
 /// Default ctor
 /// </summary>
 public Dictionary(IEqualityComparer <TKey> comparer)
 {
     map = new HashMap <TKey, TValue>();
 }
Exemple #5
0
 internal HashMapEnumerator(HashMap <TKey, TValue> m, IDictionaryEnumerator e)
 {
     this.m = m;
     this.e = e;
     this.p = -1;
 }
Exemple #6
0
 /// <summary>
 /// Default ctor
 /// </summary>
 public Dictionary(Dictionary <TKey, TValue> source)
 {
     map = new HashMap <TKey, TValue>(source.map);
 }
Exemple #7
0
 /// <summary>
 /// Creates an Dictionary with the given capacity
 /// </summary>
 public Dictionary(int capacity)
 {
     map = new HashMap <TKey, TValue>(capacity);
 }
Exemple #8
0
 /// <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;
 }