net.sf.freecol.server.ai
Class ProductionCache.Entry
java.lang.Object
net.sf.freecol.server.ai.ProductionCache.Entry
- Enclosing class:
- ProductionCache
public class ProductionCache.Entry
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
goodsType
private final GoodsType goodsType
workLocation
private final WorkLocation workLocation
unit
private final Unit unit
production
private final int production
isExpert
private boolean isExpert
isOtherExpert
private boolean isOtherExpert
unitUpgrades
private boolean unitUpgrades
unitUpgradesToExpert
private boolean unitUpgradesToExpert
ProductionCache.Entry
public ProductionCache.Entry(GoodsType g,
WorkLocation w,
Unit u)
getGoodsType
public GoodsType getGoodsType()
getWorkLocation
public WorkLocation getWorkLocation()
getUnit
public Unit getUnit()
getProduction
public int getProduction()
isExpert
public boolean isExpert()
isOtherExpert
public boolean isOtherExpert()
unitUpgrades
public boolean unitUpgrades()
unitUpgradesToExpert
public boolean unitUpgradesToExpert()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object