title: Pass object or object attribute
body: <p>I have 2 Classes, Generator and Processor.  The former generates an ArrayList that is stored as a member attribute.  The latter processes that ArrayList.</p>
  
  <p>My main Class instantiates one of each object and calls the appropriate methods.</p>
  
  <p>What is better practise?</p>
  
  <ol>
  <li>Pass the Generator object to the Processor object's process method</li>
  <li>Pass the Generator object's ArrayList to the Processor object's process method</li>
  </ol>