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

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









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
JSP Get Data Into Dropdown list From Database
How to get the data from the database (Oracle) in console or in ie using servlet or jsp as Front end
view data from database using drop down list
How to Retrieve Data from Facebook Using PHP
How to Retrieve Data from Facebook Using PHP
how to get data from checkboxes - JSP-Servlet
How to get data from Excel sheet - Struts
how to get data from sap - WebSevices
How to hold data in map
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
how to refresh google map using ajax by fetching lat long from database
JSP Get Data From Database
How to export data from jsp to excel sheet by using java
How to export data from html to excel sheet by using java
How can I get specific data from JSON
How to export data from html file to excel sheet by using java
How to export data from html file to excel sheet by using java
how to retreive data dynamically from mysql to drop down list
read from file and store using hash map
How to get month name from date(like-25/06/2012) using java?
How to display data in jsp from dao using java beans?
How to Retrieve Data from the database and write into excel file using Java
how to write to java program to get the particular data from the website
How to access Contacts from gmail using LDAP in JSP dropdown list
how to load a table of data from oracle, to a jsp page using hashmap.
How to insert data from a combobox and textbox values into DB using JSP?
How to get day from date in Java using Calendar?
how to add data dynamically from database into a dropdown list in a jsp
How to insert data from textfields into database using hibernate?
how to get data using dropdownlist, textbox and search button in jsp
How to get unique list in Hibernate using Criteria Query?
how to retrieve data from multiple tables in jsp using javabeans
how to retrieve data from multiple tables in jsp using javabeans
how to retrieve data from multiple tables in jsp using javabeans
how to insert data from database using oops concepts - Development process
How Can I get ArrayList of Data from jsp with ajax request
ModuleNotFoundError: No module named 'loop1'
How to create a Student data base using Linked List in java
How to get the most recent data from the sql database
How can I get specific data from JSON
how to get the data from database - Java Server Faces Questions
how to display data from mysql table in text box using jsp??
Version of com.socialize>loopy dependency

Ads