Is it possible with java that a hashtable can map the same keys to different values? .. How can I retrieve both value from hashtable...
you cannot, unless you store the key's value as a list of values.
take a look at google's Multimap: http://google-collections.googlecode.com/svn/trunk/javadoc/index.html?com/google/common/collect/Multimap.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With