title: Java array of Hashtables
body: <p>I need an array of Hashtables in a program that is storing all words from a given set of documents.</p>
  
  <p>Index 1 of the array holds a hashtable of String -> Double which stores a word, and its count for document 1 (array index 100 = document number 100's hashtable).</p>
  
  <p>I dont need help using this data structure, just in creating it.
  I declare the Hashtable Array as follows:</p>
  
  <pre><code>Hashtable&lt;String,Double&gt;[] h1 = new Hashtable&lt;String,Double&gt;[];
  </code></pre>
  
  <p>... but this does not compile.</p>
  
  <p>(NOTE: The Double is necessary rather than an Integer in the above declaration for later usage.)</p>
  
  <p>QUESTION:
  How do you create an array of hashtables which stores String->Double ???</p>
  
  <p>Any suggestions appreciated guys....</p>