Esempio n. 1
0
 private void CreateLayers(/* final */ bool pFixedCapacityLayers, /* final */ int[] pLayerCapacities)
 {
     /* final */
     ILayer[] layers = this.mLayers;
     if (pFixedCapacityLayers)
     {
         for (int i = this.mLayerCount - 1; i >= 0; i--)
         {
             layers[i] = new FixedCapacityLayer(pLayerCapacities[i]);
         }
     }
     else
     {
         for (int i = this.mLayerCount - 1; i >= 0; i--)
         {
             layers[i] = new DynamicCapacityLayer(pLayerCapacities[i]);
         }
     }
 }
Esempio n. 2
0
 private void CreateLayers()
 {
     /* final */
     ILayer[] layers = this.mLayers;
     for (int i = this.mLayerCount - 1; i >= 0; i--)
     {
         layers[i] = new DynamicCapacityLayer();
     }
 }