Question: How to convert List to Map in Java? I have a list of Map of string objects like this [{a=2,b=3,c=4},{a=4,b=6,c=8}] I want to convert this
How to convert List
I have a list of Map of string objects like this
[{a=2,b=3,c=4},{a=4,b=6,c=8}]
I want to convert this to a format like this
{a[0]=2,b[0]=3,c[0]=4,a[1]=4,b[1]=6,c[1]=8} etc.
How to convert this to this format please help.
Thanks
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
