title: Looking for a "chained map" implementation in Java
body: <p>I need a mapping from a list of keys to a value. I know I could write my own code like this:</p>
  
  <pre><code>Map&lt;Person, Map&lt;Daytime, Map&lt;Food, Integer&gt;&gt;&gt; eaten = ...;
  </code></pre>
  
  <p>Now I want to have some <code>get</code> and <code>put</code> methods like these:</p>
  
  <pre><code>Integer numberOfEggsIAteInTheMorning = eaten.get(me, morning, scrambledEggs);
  eaten.put(me, evening, scrambledEggs, 1);
  </code></pre>
  
  <p>Do you know of an existing class that has this kind of API? I'm too lazy of writing it myself. ;)</p>