Re: Differences between Arraylist and vector list
Posted By:
Santhosh_Kumar
Posted On:
Tuesday, November 9, 2004 05:41 AM
Please send me the differences between the ArrayList and Vector and HashMap and HashSet?
Re: Differences between Arraylist and vector list
Posted By:
Anonymous
Posted On:
Saturday, October 16, 2004 02:24 AM
There are broadly two differences between Arraylist and vector
1).Method associated with vectors are thread safe .it means they are synchronized while Arraylist is not synchronized. it means The methods associated with Arraylist are not thread safe.
2)Both vectors and arraylists hold their contents using an internal array but the difference is that A Vector defaults to doubling the size of its array, while the ArrayList increases its array size by 50 percent.
Re: Differences between Arraylist and vector list
Posted By:
Srikanth_B
Posted On:
Tuesday, September 21, 2004 02:57 AM
Probably ur question is Arraylist and Vector. The only difference is ArrayList is NOT Synchronized where as a vector is Synchronized