Exemplo n.º 1
0
 internal Enumerator(Dictionary <K, V> dictionary)
 {
     this.dictionary = dictionary;
     index           = -1;
     if (dictionary.IsDirect())
     {
         keys = new K[dictionary.Count];
         dictionary.PrimCopyToKeysDirect(keys, 0);
     }
     else
     {
         keys = null;
     }
 }