title: How can I shuffle a specific range of an ArrayList?
body: <p>In Java, I know that to shuffle an ArrayList, the method Collections.shuffle() exists, however this shuffles the entire list.</p>
  
  <p>How can I write a method (or, can someone write it and show me it?) such as the following:</p>
  
  <pre><code>private ArrayList&lt;AnObject&gt; list;
  
  /**
   * Shuffles the concents of the array list in the range [start, end], and 
   * does not do anything to the other indicies of the list.
   */
  public void shuffleArrayListInTheRange(int start, int end)
  </code></pre>