예제 #1
0
 public override void Promote(FrugalMapBase newMap)
 {
     for (int index = 0; index < this._entries.Length; ++index)
     {
         if (newMap.InsertEntry(this._entries[index].Key, this._entries[index].Value) != FrugalMapStoreState.Success)
         {
             throw new ArgumentException("FrugalMap_TargetMapCannotHoldAllData -- newMap");
         }
     }
 }
예제 #2
0
 public abstract void Promote(FrugalMapBase newMap);