java: how init a ConcurrentHashMap of integer key and object value
<p>I want a ConcurrentHashMap that have Integer key and Object value ( some value of map are Integer and another is String).
Is this the correct way to init and use my table ?</p>

<pre><code>ConcurrentHashMap table=new ConcurrentHashMap&lt;Integer, Comparable&gt;();
        table.put(new Integer(1), new String("nodata"));
        table.put(new Integer(2), new Integer(23));
</code></pre>
