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