aspose file tools
The moose likes Java in General and the fly likes How to implemnt dupplicate key map... Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "How to implemnt dupplicate key map..." Watch "How to implemnt dupplicate key map..." New topic
Author

How to implemnt dupplicate key map...

dumani jayasinghe
Greenhorn

Joined: Dec 03, 2008
Posts: 29
Please can any one guide me to implement map with duplicate key?
Joseph Mokenela
Ranch Hand

Joined: Jan 18, 2011
Posts: 58

I would suggest you check the following link.

http://stackoverflow.com/questions/1062960/map-implementation-with-duplicate-keys

Hope that helps!
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 32654
    
    4
That is a contradiction in terms. A map represents a function, and a function cannot have duplicate results from one input.
It is easy to have duplicate values. . . . will work, but this wont't:you will ony ever get Bunkhouse Porch out of that Map.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: How to implemnt dupplicate key map...
 
Similar Threads
LinkedHashMap in html:options
Util2
Hibernate with 2 column id
Map
Problem about EL ....