diff --git a/src/ItemsByPrice.java b/src/ItemsByPrice.java index f39dac7..451d33d 100644 --- a/src/ItemsByPrice.java +++ b/src/ItemsByPrice.java @@ -20,4 +20,28 @@ } return temp_l1; } -} \ No newline at end of file +} +// +//import java.util.ArrayList; +//import java.util.List; +//import java.util.Map; +// +//public class ItemsByPrice { +// private Price price; +// private SiteWrapper siteWrapper; +// public ItemsByPrice(Price price, SiteWrapper siteWrapper) { +// this.price = price; +// this.siteWrapper = siteWrapper; +// } +// public List> getValue() { +// List> temp_l1 = new ArrayList<>(); +// { +// for (Map item: this.siteWrapper.getSiteAValue()) { +// if ((Integer) item.get("price") <= this.price.getValue()) { +// temp_l1.add(item); +// } +// } +// } +// return temp_l1; +// } +//} \ No newline at end of file