how to get data from list to map with out using a loop?

Ads
 

how to get data from list to map with out using a loop?

List list=new ArrayList();

list.add("raja");
list.add("1");

list.add("puja");
list.add("13");

list.add("rajani");
list.add("21");

list.add("hari");
list.add("15");

how to get this data into map with out using a loop. i want this data like this--map.put(name,id); Is it possible to do without using loop.

View Answers

Ads









Related Tutorials/Questions & Answers:
how to get data from list to map with out using a loop?
How to Get The Data from Excel sheet into out jsp page???
Advertisements
How to get data from DB in to Text box by using Jsp & Ajax
How to get the data from the database using Servlet or JSP program
How to get data from Oracle database using JSP
how to get data from checkboxes - JSP-Servlet
How to get data from Excel sheet - Struts
How to get the data from the database (Oracle) in console or in ie using servlet or jsp as Front end
how to get data from sap - WebSevices
how to get data from database into dropdownlist in jsp
how to get data from database into dropdownlist in jsp
how to get data from database into dropdownlist in jsp
JSP Get Data Into Dropdown list From Database
How to hold data in map
How to Retrieve Data from Facebook Using PHP
How to Retrieve Data from Facebook Using PHP
how to write to java program to get the particular data from the website
JSP Get Data From Database
How to get month name from date(like-25/06/2012) using java?
how to get data using dropdownlist, textbox and search button in jsp
How Can I get ArrayList of Data from jsp with ajax request
How to get the most recent data from the sql database
how to get the data from database - Java Server Faces Questions
How to get unique list in Hibernate using Criteria Query?
How to get day from date in Java using Calendar?
view data from database using drop down list
how to refresh google map using ajax by fetching lat long from database
How to export data from html to excel sheet by using java
How to export data from jsp to excel sheet by using java
how to retreive data dynamically from mysql to drop down list
How to export data from html file to excel sheet by using java

Ads