title: Heterogenous Type Fetching In HashMaps
body: <p>Is it possible to have a HashMap that takes a uniform key( say of type 'String' ) but have a value that varies. For Example consider the HashMap <strong>m</strong>.
  I want the following functionality:</p>
  
  <pre><code>    m.get("UID1"); // This fetches a String value 
      m.get("UID2"); // This fetches another type like a class instance
  </code></pre>
  
  <p>Then depending on the type of value fetched, further processing can be done.</p>