tag:blogger.com,1999:blog-8712770457197348465.post4149687412803979971..comments2024-03-19T05:51:39.935-07:00Comments on Javarevisited: Difference between ArrayList and Vector in Javajavin paulhttp://www.blogger.com/profile/15028902221295732276noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-8712770457197348465.post-91644718399035537392015-06-13T09:39:35.006-07:002015-06-13T09:39:35.006-07:00Instead of using vector, you can also use synchron...Instead of using vector, you can also use <a href="http://java67.blogspot.sg/2014/12/how-to-synchronize-arraylist-in-java.html" rel="nofollow">synchronized ArrayList</a>, its better option because vector is old class and any new optimization will more likely to go ArrayList than Vector. java67http://java67.blogspot.comnoreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-83861721745219465192015-03-25T08:50:14.058-07:002015-03-25T08:50:14.058-07:00Conflicting points in similarity and difference th...Conflicting points in similarity and difference that vector is fail-fast.<br />It is fail-safe.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-9896167070427520062013-05-27T09:55:01.606-07:002013-05-27T09:55:01.606-07:00Good article. Keep it up...Good article. Keep it up...Sekarhttps://www.blogger.com/profile/10826560069775745946noreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-33419967752226282132012-08-30T00:53:53.142-07:002012-08-30T00:53:53.142-07:00The content of your blog with easy to understand l...The content of your blog with easy to understand language makes your blog a really useful place for all Java Developers.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-43253291272886659362012-06-13T00:40:08.312-07:002012-06-13T00:40:08.312-07:00If you compare Vector vs ArrayList or Vector vs Ha...If you compare Vector vs ArrayList or Vector vs HashSet you will find ArrayList and HashSet are way faster than Vector and given we have Concurrent List implementation like CopyOnWriteArrayList, there is no need to use Vector.Only significant difference between Vector and ArrayList is synchronization or locking otherwise they are same.Podolskinoreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-6686130459578267122011-09-09T20:38:23.569-07:002011-09-09T20:38:23.569-07:00Thanks Lokesh for your valuable content, yes you a...Thanks Lokesh for your valuable content, yes you are correct about point 5.Indeed javadoc of ArrayList says "Constructs an empty list with an initial capacity of ten." and I will correct that. Once again thanks for pointing this out and your kind advice. appreciate.Javin @ convert string to int in javahttp://javarevisited.blogspot.com/2011/08/convert-string-to-integer-to-string.htmlnoreply@blogger.comtag:blogger.com,1999:blog-8712770457197348465.post-79195057459586558482011-09-09T20:06:58.357-07:002011-09-09T20:06:58.357-07:00Hi Javin,
I have been visiting your blog for the p...Hi Javin,<br />I have been visiting your blog for the past couple of weeks and has found it really nice. Though there are multiple such blogs the good thing about your blog seems to be that you have been regular in your posts and have followers who actively discuss things in the comments. Congrats on that :) Just an advice is that with in some posts the content seems to have got repeated. It Anonymousnoreply@blogger.com