JAVA-INDEX.COM
Java programming resources: FAQs, tutorials, compiler and browser download sites, documentation, books lists, IDEs, etc.
Home....
|
log in....
|
Pub my question!
|
Sign-up....
Java-index
>>
Java Essentials
>>
Java Programming
Can I store more than One value in HashMap using Same kay?
Hi,I want to store more than one value in HashMap using same key................. is it possible?If yes, then please give me source code for that.....Thankx in Adv.......
[198 byte] By [
Bipin_sutariyaa
] at [2007-11-26 17:28:30]
««
how to insert data in to msaccess through jsp
»»
Negotiation data format !
# 1
Write the source yourself.Use a List as value, and put all values in the list. Kaj
kajbja
at 2007-7-8 23:56:26 >
# 2
You could store an array or a List in the HashMap.
-Kayaman-a
at 2007-7-8 23:56:26 >
# 3
>I want to store more than one value in HashMap using >same key................. is it possible?I don't think soMessage was edited by: manuel.leiria
manuel.leiriaa
at 2007-7-8 23:56:26 >
# 4
@Op. You can also take a look at MultiValueMap from apache.Kaj
kajbja
at 2007-7-8 23:56:26 >
# 5
or use aMap<String,List<String>>
suparenoa
at 2007-7-8 23:56:26 >
Java Essentials
To retrieve the vector objects randomly
What is the ideal length of a Java File?
500 error while accessing a jsp using tiles tags
Generating N-digit random number?
JTAPI
OutOfMemoryError occured
array list help
Netscape package
@Override
avoiding css
Java Programming
need help with runtime exec SSH (Linux)
Strange output
How to set bootclasspath in environment var.
iText PdfPTable help !!
No Help, No Response, That's not good
list
Thread Problem
how can I make my application send an SMS?
SQL Query for DATE
Plzzz help
Java Essentials New Topic
need help with runtime exec SSH (Linux)
To retrieve the vector objects randomly
How to set bootclasspath in environment var.
500 error while accessing a jsp using tiles tags
iText PdfPTable help !!
JTAPI
OutOfMemoryError occured
list
Java Essentials Hot Topic
Strange output
What is the ideal length of a Java File?
Generating N-digit random number?
No Help, No Response, That's not good
how can I make my application send an SMS?
Plzzz help
Problem to create instance
better software domain for java technology.
Java Essentials
Java Programming
New To Java
Training
All Classified
Archived Forums
Enterprise & Remote Computing
Java Essentials
Desktop
Core
Solaris Operating System
Security
Database Connectivity
Java Mobility Forums
Web & Directory Servers
Development Tools
Application & Integration Servers
Java HotSpot Virtual Machine
Other Topics
E-Mail, Calendar, & Collaboration
Developer Tools
General
Administration Tools
Sun Hardware
Storage Forums
Java Enterprise System
StarOffice
Open Source Technologies
BigAdmin
Real-Time
Java Coding