tl  tr
  Home | Tutorials | Articles | Videos | Products | Tools | Search
Interviews | Open Source | Tag Cloud | Follow Us | Bookmark | Contact   
 Java 8 Features > Stream API > Convert List to Map

Convert List to Map

Author: Venkata Sudhakar

The below example shows how to convert Object list into a Map


It gives the following output,

{1=Sriram, 2=Tanvie, 3=Charan}

 
  


  
bl  br