tnx ... ho 1 altra cosa da chiedere però

class Cassa
{
static Double totale = new Double(0.00);

Cassa(Vector vPrezzi, Vector vProdotti){
for (int i = 0; i < vPrezzi.size() ; i++){
totale = totale.doubleValue() + ((vPrezzi.get(i)).doubleValue());
// z=new Integer(x.intValue()+y.intValue());
}
}

vPrezzi è un vector che contiene Double

.. come faccio a sommare totale ( di tipo Double) con gli elementi del vector ?

mi da errore ... ...

tnx byee