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