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