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