Пример #1
0
 public double getDescriptionCost() {
   double dc = CARD_COST;
   for (InferredType it : unionTypes) {
     dc += it.getDescriptionCost();
   }
   return dc;
 }
Пример #2
0
 public double getDescriptionCost() {
   return CARD_COST + bodyType.getDescriptionCost();
 }