예제 #1
0
 public Container(QuadraticHashTable <TKey, TValue> quadraticHashTable)
 {
     foreach (HashNode <TKey, TValue> element in quadraticHashTable.hashTable)
     {
         dictionary[element.Key] = element.Value;
     }
 }
예제 #2
0
 public Set(QuadraticHashTable <object, TValue> quadraticHashTable)
 {
     foreach (HashNode <object, TValue> element in quadraticHashTable.hashTable)
     {
         set.Add(element.Value);
     }
 }