ArrayList vs HashMap
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   RaJan_Seeti
Posted On:   Tuesday, September 9, 2003 01:49 PM

Hi,



I have to store thousands of elements in ArrayList or HashMap.


Which is faster to access nth element?


Is ArrayList is faster than HashMap? If so Why?


Please help me.



Thanks.

Re: ArrayList vs HashMap

Posted By:   Steven_Martin  
Posted On:   Tuesday, September 9, 2003 03:17 PM

Ask yourself how you could access the nth element in a hashmap?
About | Sitemap | Contact