• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HashMap

 
Ananth Ram
Ranch Hand
Posts: 99
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
Posts: 99
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Never mind. Got the way iterate entry.getValue().get(index)

Thanks,
Ananth Ram
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic