title: Hashtable<String,Integer[]> myhash = new Hashtable();
body: <p>I would like to know if it is possible to have this:</p>
  
  <pre><code>Hashtable&lt;String,Integer[]&gt; myhash =new Hashtable();
  </code></pre>
  
  <p>Where String would be a word, and the integer[], would be an array of two position, the first one, the line number and the second one would be the number of times this word apears.</p>
  
  <p>But I don't really know how to do the put operation.</p>
  
  <pre><code>myhash.put(word, new Integer(n_line,n_times));??
  </code></pre>
  
  <p>It doesn't work, but how would you do it?</p>
  
  <p>Thank you</p>