Beispiel #1
0
 public void init(double price)
 {
     delay.init(price);
     prices = new double[length];
     for (int i = 0; i < length; ++i)
     {
         prices[i] = price;
     }
 }
Beispiel #2
0
 public void init(double price)
 {
     delay.init(price);
     sum = price * length;
 }