Map<String, Integer> foo - how do I get the value of the integer - JAVA
<p>I have a method:</p>

<pre><code>  public void updateBoard (Map&lt;String, Integer&gt; foo)
</code></pre>

<p>How do I find out the value of the Integer? I'm trying foo.get() but it just gives me the key.</p>

<p>Thanks!</p>