Esempio n. 1
0
 public ValueCollection(FastMap <K, V> map)
 {
     if (map == null)
     {
         throw new ArgumentNullException("dictionary");
     }
     this.map = map;
 }
Esempio n. 2
0
 public KeyCollection(FastMap <K, V> dictionary)
 {
     if (dictionary == null)
     {
         throw new ArgumentNullException("dictionary");
     }
     this.map = dictionary;
 }
Esempio n. 3
0
            internal KeyValueEnumerator(FastMap <K, V> dictionary)
            {
                this.map = dictionary;
                stamp    = dictionary.generation;

                // The following stanza is identical to IEnumerator.Reset (),
                // but because of the definite assignment rule, we cannot call it here.
                position = 0;
            }
Esempio n. 4
0
 internal Enumerator(FastMap <K, V> host)
 {
     host_enumerator = new KeyValueEnumerator(host);
 }
Esempio n. 5
0
 public void Dispose()
 {
     map = null;
 }