Vector provides synchronized methods to access data, but vector itself is not synchronized data, and there is a big difference.
I do not see how they are different from a programmer 's viewpoint: since all methods are synchronized, the internal data integrity of a vector is always maintained.
What did I miss? Thanks. Yan
Joined: Aug 08, 2003
If you have a reference to an object that is contained by a Vector, you can modify the value of that object in an thread un-safe manner. The synchronization just protects the list so-to-speak not the content.