How to remove multiple duplicates from list whenever we give a duplicate element
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/203984/how-do-i-remove-repeated-elements-from-arraylist">How do I remove repeated elements from ArrayList?</a>  </p>
</blockquote>



<p>I have one list in that elements like </p>

<pre><code>[10,11,12,10,12,13,10,12,11,11].
</code></pre>

<p>The requirement is when ever we enter one duplicate value remove the remaining duplicate values.
Ex:if we remove the 10 then automatically remove two tens.</p>
