Java collections manipulation
<ol>
<li>Is there a better way to add a list to another existing list than what I have coded in the add method ?</li>
<li><p>Is the way to remove a list of songs from a playlist correct or am I going to hit concurrent modification exception ?    </p>

<pre><code>class Playlist
{
List&lt;Song&gt; playList;
public void addSongs(List&lt;Song&gt; songs)
{
  for(Song s:songs)
  playList.add(s);
}

public void removeSongs(List&lt;Song&gt; songs)
{
  for(Song s:songs)
  if(playList.contains(s))
  playList.remove(s);
}


}
</code></pre></li>
</ol>
