dcsimg
Difference ArrayList and HashMap in term of memory and speed
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Saturday, January 12, 2002 05:10 AM

Should we ever select ArrayList over HaspMap? If I am dealing with 3/5 key velue record, is it a better solution to use a user defined class which store Key, Value record and store them into ArrayList instead of directly using HashMap.


which one will occupy more memory and which class takes more time to create.


And what will be the case if records are more between 30/40.



Is there any place where I can find detailed comparision.

Re: Difference ArrayList and HashMap in term of memory and speed

Posted By:   waseem_qureshi  
Posted On:   Tuesday, January 29, 2002 02:37 PM

ArrayList works as a Vectors and HashMap works as Hashtable
About | Sitemap | Contact