Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Beginning Java and the fly likes HashMap Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Bookmark "HashMap " Watch "HashMap " New topic
Author

HashMap

Ananth Ram
Ranch Hand

Joined: Jan 18, 2001
Posts: 99

Hi All,

I have a Map<Integer, Arraylist<String>> m1 = new HashMap<Integer, ArrayList<String>>();

I have an array. length of the total size of map keys. i.e. m1 (key 1, 2,3) then length of array is 3



Someone can advise and help me.

Thanks,
Ananth Ram
Ananth Ram
Ranch Hand

Joined: Jan 18, 2001
Posts: 99
Never mind. Got the way iterate entry.getValue().get(index)

Thanks,
Ananth Ram
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: HashMap
 
It's not a secret anymore!