@Service public class CityProduction extends Object
| Modifier and Type | Field and Description |
|---|---|
private Map<IWare,Integer> |
productionRates |
| Constructor and Description |
|---|
CityProduction() |
| Modifier and Type | Method and Description |
|---|---|
int |
getEfficientProduction(IWare ware)
Compute the amount of
ware that is produced efficiently within a week |
int |
getInefficientProduction(IWare ware)
Compute the amount of
ware that is produced inefficiently within a week |
public int getEfficientProduction(IWare ware)
ware that is produced efficiently within a weekware - public int getInefficientProduction(IWare ware)
ware that is produced inefficiently within a weekware - Copyright © 2011-2015 Sahits GmbH. All Rights Reserved.