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 how to retrieve values from map of String and Map 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 "how to retrieve values from map of String and Map" Watch "how to retrieve values from map of String and Map" New topic
Author

how to retrieve values from map of String and Map

Anshul Chandra Saxena
Greenhorn

Joined: Sep 10, 2009
Posts: 14
Hi

I have a sample code like this:



Can anyone please tell me how to retrieve the values from the valueMap ?As in, for key "FIRST" i want to retrieve the value "XXXXX" .

thanks
Anshul
Lorand Komaromi
Ranch Hand

Joined: Oct 08, 2009
Posts: 276
You'll find the answer int the Collections tutorial!


OCJP 6 (93%)
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 32689
    
    4
What strange design. You are adding Maps to Maps. You will have to retrieve a Map, then retrieve a value from it.

There's nothing like easy programming, and that is nothing like easy programming.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to retrieve values from map of String and Map
 
Similar Threads
Generic Tag Listener - Request for Comment
Search and Replace tag (Not its Value) in an XML file.
Reading Complex Map and Collection
Just curious how ugly this is?
How to use struts custom tags to handle this scenario?