Beispiel #1
0
 /// <summary>
 /// Remove the specified object.
 /// </summary>
 /// <returns><c>true</c>, if the object was in the dictionary and could be removed, <c>false</c> otherwise.</returns>
 /// <param name="obj">Object.</param>
 public bool Remove(Ukeyval obj)
 {
     if (UindexesT.ContainsKey(obj))
     {
         Tkeyval val = UindexesT [obj];
         UindexesT.Remove(obj);
         TindexesU.Remove(val);
         return(true);
     }
     return(false);
 }
Beispiel #2
0
 /// <summary>
 /// Remove the specified object.
 /// </summary>
 /// <returns><c>true</c>, if the object was in the dictionary and could be removed, <c>false</c> otherwise.</returns>
 /// <param name="obj">Object.</param>
 public bool Remove(Tkeyval obj)
 {
     if (TindexesU.ContainsKey(obj))
     {
         Ukeyval val = TindexesU [obj];
         TindexesU.Remove(obj);
         UindexesT.Remove(val);
         return(true);
     }
     return(false);
 }