The reason why you would use
is because all the methods but the iterator are synchronized using the list itself as the mutex so you don't have to do
Instead you can just do
and it will be thread safe.
The only method which isn't synchronized is when iterating the list. The list iterator can't be return in a synchronized fashion, since you will be iterating through it afterwards which is why it is required to manually synchronize the list. So in conclusion, you only have to synchronize the list when iterating over it, everything else you don't have to.