Example #1
0
 public override void Remove()
 {
     if (!removeAllowed)
     {
         throw new NotSupportedException();
     }
     hashMap.Remove(currEntry.GetKey1(), currEntry.GetKey2(), currEntry.GetKey3());
     currEntry = null;
 }
Example #2
0
 protected virtual bool EqualKeys(Key1 key1, Key2 key2, Key3 key3, Tuple3KeyEntry <Key1, Key2, Key3, V> entry)
 {
     return(Object.Equals(key1, entry.GetKey1()) && Object.Equals(key2, entry.GetKey2()) && Object.Equals(key3, entry.GetKey3()));
 }