remove() on List created by Arrays.asList() throws UnsupportedException
<p>I have a collection <code>c1&lt;MyClass&gt;</code> and an array <code>a&lt;MyClass&gt;</code>.  I am trying to convert the array to a collection <code>c2</code> and do <code>c1.removeAll(c2)</code>, But this throws <code>UnsupportedOperationException</code>.  I found that the <code>asList()</code> of Arrays class returns <code>Arrays.ArrayList</code> class and the this class inherits the <code>removeAll()</code> from <code>AbstractList()</code> whose implementation throws <code>UnsupportedOperationException</code>.</p>

<pre><code>    Myclass la[] = getMyClass();
    Collection c = Arrays.asList(la);
    c.removeAll(thisAllreadyExistingMyClass);
</code></pre>

<p>Is there any way to remove the elements? please help</p>
