This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes [Information] Map with multiple keys Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "[Information] Map with multiple keys " Watch "[Information] Map with multiple keys " New topic
Author

[Information] Map with multiple keys

Vikas Kapoor
Ranch Hand

Joined: Aug 16, 2007
Posts: 1374
Did you ever need a map (kind of structure) with multiple keys to value? I needed this kind of implementation. I googled for that and came across Apache Commons and they have a class MultiKeyMap.

I thought it might be helpful so put it here and also so that it gets archived on internet.
Jarred Olson
Ranch Hand

Joined: Jul 31, 2009
Posts: 37
That looks pretty useful, better than some of the nested HashMap/ArrayList/HashMap structures I've run across before
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: [Information] Map with multiple keys
 
Similar Threads
Collection with 3 keys
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/collections/map/LRUMap
Which Data Structure to use?
how can we get all the keys having same value in TreeMap
Hashmap