public void setConcentration(double concentration, Volumen a) { futurequantity = a.getVolume() * concentration; }
public double getConcentration(Volumen a) { if (a.getVolume() == 0) return 0; return quantity / a.getVolume(); }