Explaination of ArrayList remove() Methods
In the example code you can see that when the remove(Object o) method is called the Integer is not cast to an int and the matching is done using the object's .equals() method rather than using ==
Shared with the World by
Mr Patrick Mcsweeney