예제 #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);
 }