myCanopyClosurePPFValues = new Vector(getTAInitialValue()); myCanopyClosureCO2Values = new Vector(getTAInitialValue());
myCanopyClosurePPFValues = new Vector<Float>(getTAInitialValue()); myCanopyClosureCO2Values = new Vector<Float>(getTAInitialValue());
    public PlantImpl(ShelfImpl pShelfImpl) {        myLogger = Logger.getLogger(this.getClass());        myAge = 0;        myShelfImpl = pShelfImpl;        canopyClosureConstants = new float[25];        canopyQYConstants = new float[25];        Arrays.fill(canopyClosureConstants, 0f);        Arrays.fill(canopyQYConstants, 0f);        myAveragePPF = getInitialPPFValue();        myAverageCO2Concentration = getInitialCO2Value();        consumedWaterBuffer = new SimpleBuffer(WATER_TILL_DEAD                * myShelfImpl.getCropAreaUsed(), WATER_TILL_DEAD                * myShelfImpl.getCropAreaUsed());        consumedLightBuffer = new SimpleBuffer(LIGHT_TILL_DEAD                * myShelfImpl.getCropAreaUsed(), LIGHT_TILL_DEAD                * myShelfImpl.getCropAreaUsed());        consumedCO2LowBuffer = new SimpleBuffer(CO2_LOW_TILL_DEAD                * CO2_RATIO_LOW, CO2_LOW_TILL_DEAD * CO2_RATIO_LOW);        consumedCO2HighBuffer = new SimpleBuffer(CO2_HIGH_TILL_DEAD                * CO2_RATIO_HIGH, CO2_HIGH_TILL_DEAD * CO2_RATIO_HIGH);        consumedHeatBuffer = new SimpleBuffer(HEAT_TILL_DEAD                * DANGEROUS_HEAT_LEVEL, HEAT_TILL_DEAD * DANGEROUS_HEAT_LEVEL);        myRandomGen = new Random();        numFormat = new DecimalFormat("#,##0.0;(#)");        myCanopyClosurePPFValues = new Vector(getTAInitialValue());        myCanopyClosureCO2Values = new Vector(getTAInitialValue());    }