title: Invalid value type: String for Integer
body: <p>The following code</p>
  
  <pre><code>public List&lt;Map&lt;String,String&gt;&gt; getPhoneData() {
      List&lt;Map&lt;String, String&gt;&gt; mapp = new List&lt;Map&lt;String, String&gt;&gt;();
      Map&lt;String, Integer&gt; temp
           = new Map&lt;String, Integer&gt;{'type' =&gt; 'Profile Value', 'count' =&gt; 1};
      return mapp;
  }
  </code></pre>
  
  <p>is giving me </p>
  
  <pre><code>Compile Error: Invalid value type: String for Integer
  </code></pre>
  
  <p>at line 3</p>
  
  <p>I want to create <code>Map</code> with one value <code>String</code> and other <code>Integer</code>. How to do that?</p>