The below example shows how to convert Object list into a Map
It gives the following output,
{1=Sriram, 2=Tanvie, 3=Charan}