Core Spring Data
Written by: Oliver Gierke
Featured Refcardz: Top Refcardz:
  1. Git
  2. Prep for CD
  3. DNS
  4. Data Mining
  5. Spring Data
  1. Data Mining
  2. Spring Data
  3. DNS
  4. Machine Learning
  5. MongoDB

Link Details

Link 933611 thumbnail
User 884233 avatar

By screener
via javarevisited.blogspot.in
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
  • 637
  • 1157

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.

Voters For This Link (5)



Voters Against This Link (4)