title: Newbie generic parameter qu estion... <T>
body: <p>Okay so can i achive this somehow:</p>
  
  <pre><code>String myString = "someString";
  Class myClass = myString.getClass();
  
  HashMap&lt;mClass, Integer&gt; = new HashMap&lt;myClass, Integer&gt;();
  </code></pre>
  
  <p>So i would like to create a new hashmap, with class type of the key of my variables like Integer or String...</p>