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