Showing posts with label arraylist. Show all posts
Showing posts with label arraylist. Show all posts

Wednesday, May 9, 2012

A colleague said don"t use java.util.Vector anymore - why not?


Previously I would always have thought a Vector was good to use for non-descript objects when length was unknown. As far as I was aware I thought it was thread-safe too

Monday, May 7, 2012

traditional for loop vs Iterator in Java


Is there any performance testing results available in comparing traditional for loop vs Iterator while traversing a ArrayList,HashMap and other collections?

Tuesday, February 28, 2012

Array lists and string splitting(Java) [closed]


I am trying to read a text file, and read its contends. Easy enough, right? But the files contents read: Part1:Part2

arraylist java compiling errors


ok i try to play with arraylist in java awhile to experiment some thing that related my project..so i come up with a simple code like this

Monday, January 30, 2012

retrieve serialized java.util.Arraylist in asp.net client (SUID doesn"t match)


I am trying to send persisted objects from a java webservice to the ASP.Net client. Both sides have the object-classes, with the same SerialUID's. Classes without (Array)Lists pose no problem, but when I want to send objects including ArrayLists, the expected SUID is incorrect: