How to traverse in Nested HashMap.

37 views
Skip to first unread message

Vimal Kumar

unread,
Sep 12, 2019, 7:53:27 AM9/12/19
to Selenium Users
Team,

I have just saved all my excel data into Hash Map ( Key-Column : Value - row value). Since we have multiple rows of data, i have used two hash map,
Map<String, Map<String, String> innermap> outermap;

So my data will be {row1 = {colum1name:row1value,column2name:row1value},row2={colum1name:row2value,column2name:row2value}}

I want to iterate each value (Like for Loop) for both inner and outer loop. Please advise.

Thanks
Vimal

⇜Krishnan Mahadevan⇝

unread,
Sep 12, 2019, 8:52:47 AM9/12/19
to Selenium Users

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/
My Technical Scribblings @ https://rationaleemotions.com/


--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/3ad9f4d7-8b7e-4106-94aa-f5dd6f0ffb36%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages