Possible Duplicate:
How do I remove repeated elements from ArrayList?
I have one list in that elements like
[10,11,12,10,12,13,10,12,11,11].
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.