Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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 Android Security Essentials Live Lessons this week in the Android 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
Hashmap
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