title: How to retrieve ArrayList<Item> from a separate class?
body: <p>So there is a class called Server I can't access which has the method getGoodItems()</p>
  
  <p>"public static java.util.ArrayList getGoodItems()</p>
  
  <p>Returns an ArrayList of good items read from the database (csv file)."</p>
  
  <p>And I want to make a goodItems arrayList in the class I'm writing with something like:</p>
  
  <pre><code>ArrayList&lt;Item&gt; goodItems = new ArrayList&lt;Item&gt; Server.getGoodItems();
  </code></pre>
  
  <p>I don't know what this line of code should look like so I create the arraylist I need in the class Im working with.  What is the right format here?</p>