示例#1
0
 private boolean productMatchesListing(Product p, Listing l) {
   return l.getTitleKey().contains(p.getModelKey());
 }
示例#2
0
 private Collection<Product> productsForManufacturer(Listing listing) {
   if (!products.containsKey(listing.getManufacturerKey())) {
     return new ArrayList<Product>();
   }
   return products.get(listing.getManufacturerKey());
 }