net.sf.freecol.server.ai
Class ProductionCache.Entry

java.lang.Object
  extended by net.sf.freecol.server.ai.ProductionCache.Entry
Enclosing class:
ProductionCache

public class ProductionCache.Entry
extends java.lang.Object


Constructor Summary
ProductionCache.Entry(GoodsType g, WorkLocation w, Unit u)
           
 
Method Summary
 GoodsType getGoodsType()
           
 int getProduction()
           
 Unit getUnit()
           
 WorkLocation getWorkLocation()
           
 boolean isExpert()
           
 boolean isOtherExpert()
           
 java.lang.String toString()
           
 boolean unitUpgrades()
           
 boolean unitUpgradesToExpert()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProductionCache.Entry

public ProductionCache.Entry(GoodsType g,
                             WorkLocation w,
                             Unit u)
Method Detail

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