title: How is the ArrayList referenced in a getElementAt() method
body: <p>This is in java.</p>
  
  <p>Alright so I am inheriting the abstract method <code>getElementAt(int)</code>. I want to <strong>override this method</strong> so that it finds an element at a specified index within an ArrayList. Since I am not actually passing an <strong>ArrayList</strong> into the method, I don't know how to reference it.</p>
  
  <pre><code>someArrayList.getElementAt(int n);
  </code></pre>
  
  <p>How does it access someArrayList within the method?</p>
  
  <p>As for what I'm inheriting from</p>
  
  <p><code>public class ListEngine extends AbstractListModel</code></p>
  
  <p>and I am overriding the class </p>
  
  <pre><code>getElementAt(int n)
  </code></pre>