How can I convert this:
Map<String, Integer> itemsBought
So that I can add it on the ArrayList as Follows:
public void add(String prd, int qty){
orderList.add(new Order(prd, qty));
}
Are there other solutions beside this:
hashMap.keySet().toArray();
hashMap.values().toArray();
Thank you in advance.