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