This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Java in General and the fly likes Putting object in HashMap Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "Putting object in HashMap" Watch "Putting object in HashMap" New topic
Author

Putting object in HashMap

Rizwan Qadri
Ranch Hand

Joined: May 28, 2007
Posts: 40
Hi,All
Can we put() an object as a key in HashMap. If yes how?I am doing this but, when i get() the key ,it give me null. Thanks
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Putting object in HashMap
 
Similar Threads
Hashmap doubt from K&B
Mapping Question
How can we access objects in a Hash Map?
Putting object in HashMap
fast list/map??