commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nazar Stasiv" <nsta...@gmail.com>
Subject bidimap with multiple value occurence
Date Thu, 17 Apr 2008 08:55:41 GMT
Hello,
I want to ask about elegant way to store key,value pairs into bidimap where
value has many occurrences. It is known that if map stores key,value pair
into existing key bucket old value is replaced with new one.
Now when it comes to lookup key with the value inverse map is used, and
hence values in pairs might be equal objects not all of original keys are
stored as values. This is why I can't get all of original keys. What would
you do?

Thanks

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message