HI All
i am new to java
jdk 1.4 and tomcat 4
my requirement is
id desc name firstname lastname
1 hi ravi m last
1 hi ravi m middle
1 hi ravi m mapp
2 hi kiran ha hey
3 hi vinoth hello yes
id is ----id
desc name firstname lastname --values
i am using treemap i want o/p like (map will not allow duplicate keys but i want the below o/p using map)
id desc name firstname lastname
1 hi ravi m last, middle,mapp
2 hi kiran ha hey
3 hi vinoth hello yes
please help me to solve
raviaaaa
0
Newbie Poster
Recommended Answers
Jump to PostWhat are the keys you want to use to access the data?
Why do you want to use a Map to store the data?
All 3 Replies
NormR1
563
Posting Sage
Team Colleague
Ezzaral
2,714
Posting Sage
Team Colleague
Featured Poster
JamesCherrill
4,733
Most Valuable Poster
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.