Ejemplo n.º 1
0
 /// <summary>
 /// Copy all items from source onto this instance.
 /// NOTE: it is assumed that this instance's Comparer is compatible with source's.
 /// </summary>
 /// <param name="source"></param>
 public void Copy(ISortedDictionary <TKey, TValue> source)
 {
     Btree.Copy(((SortedDictionary <TKey, TValue>)source).Btree);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Implement to copy items from source onto this instance.
 /// </summary>
 /// <param name="source"></param>
 public void Copy(ISortedDictionary <TKey, TValue> source)
 {
     Locker.Lock();
     Btree.Copy(((SortedDictionary <TKey, TValue>)source).Btree);
     Locker.Unlock();
 }