Exemple #1
0
 public void save() {
   products.remove(findByEan(this.ean));
   products.add(this);
 }
Exemple #2
0
 public static boolean remove(Product product) {
   return products.remove(product);
 }