File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Regarding HashMap Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Regarding HashMap" Watch "Regarding HashMap" New topic
Author

Regarding HashMap

Saral Saxena
Ranch Hand

Joined: Apr 22, 2011
Posts: 202

Hi folks,

I was going through collections , could you please provide me with any real life scenarios that where we should use hash map...!!
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10451
    
    8

Which scenarios can you think of?


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Saral Saxena
Ranch Hand

Joined: Apr 22, 2011
Posts: 202

Maneesh Godbole wrote:Which scenarios can you think of?


well where very large collection I have which is unordered but this not that much clear..!!
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10451
    
    8

What is not clear?
Manoj Kumar Jain
Ranch Hand

Joined: Aug 22, 2008
Posts: 191

Saral Saxena wrote:
Maneesh Godbole wrote:Which scenarios can you think of?


well where very large collection I have which is unordered but this not that much clear..!!


This is not about a large or small collection. HashMap store the Key Value pair. So, you can store key/value and and use them.
What is not much clear I couln't get you..


Do not wait to strike till the iron is hot; but make it hot by striking....
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Regarding HashMap