title: Java Direct Reference Hash Value
body: <p>In perl a hash looks like</p>
  
  <pre><code>%last_name = (
      "Ward",   "Cleaver",
      "Fred",   "Flintstone",
      "Archie", "Bunker"
  );
  </code></pre>
  
  <p>And there is the option to directly reference a key, in order to retrieve it's value.</p>
  
  <pre><code>say $last_name{Archie}; # Bunker
  </code></pre>
  
  <p>I've been looking for some time now and have found no option to achieve the same thing without creating a method to do it. </p>
  
  <p>Is there a way to directly reference a key in a Java hash to retrieve it's value?</p>