Link Details

Link 933611 thumbnail
User 884233 avatar

By screener
Published: Mar 04 2013 / 20:43

Getting key from value in HashMap is not easy, because HashMap allows null values, multiple key pointing to same value. Bidirectional Map provided by Guava is good alternative in such situation but if you had to do it with Java, you may follow one of these examples.
  • 5
  • 4
  • 1155
  • 1175

Add your comment

Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Apache Hadoop
Written by: Piotr Krewski
Featured Refcardz: Top Refcardz:
  1. Play
  2. Akka
  3. Design Patterns
  4. OO JS
  5. Cont. Delivery
  1. Play
  2. Java Performance
  3. Akka
  4. REST
  5. Java