Пример #1
0
 public override void Remove()
 {
     if (!removeAllowed)
     {
         throw new NotSupportedException();
     }
     hashMap.Remove(currEntry.GetKey1(), currEntry.GetKey2());
     currEntry = null;
 }
Пример #2
0
 protected virtual bool EqualKeys(Key1 key1, Key2 key2, Tuple2KeyEntry <Key1, Key2, V> entry)
 {
     return(Object.Equals(key1, entry.GetKey1()) && Object.Equals(key2, entry.GetKey2()));
 }