text: I'm doing a project on web scraping using ArrayLists. When I scrape the info, it comes back as
  item [0] = pencil,
  item [1] = $1.50. I would like these items to be together, or if possible it would be even better if the prices and item each had their own id, but each was somehow linked together so that I could reference each one separately. Also, sometimes when scraping I get
  item [2] = paper,
  item [3] = $5.00,
  item [4] = wide bound college ruled, where
  item [4] represents an optional description that was included with the item that would need to be included in the ArrayList or in a separate ArrayList linked by ids as before. Any ideas are appreciated.
  If you only need the name and the price, your best solution is to use a Map, works kind of like an ArrayList<T>, but instead of a single element you have a couple <Key,Value>, like <pencil, 1,50>. If you need more than two values I would suggest to create your own class, for example:
  public class Item { private String name; private double price; private String description; }
  With all the extra methods you need, then declare your ArrayList like this;
  ArrayList<Item> items = new ArrayList<>()