title: Map entry appears in HashMap.entrySet() but not internal HashMap.table
body: <p>I have a Java HashHap that is getting populated within the program. For some reason the entrySet within the map contains what I am expecting, but when I look at the internal Entry table it is missing a value. Since that value is missing I'm getting a null and it breaks everything. Maybe I don't understand HashMaps as well as I thought but should the table contain all the entries in the entrySet? Thanks.</p>
  
  <p>When talking about entrySet and the table I am indeed talking about the internals of the HashMap when debugging. Here is what my "entrySet" looks like:</p>
  
  <pre><code>[IS_DELETED=0, COLLECTION_SET_NAME=D-EIUCFOE-SET, MAP_ID=Ic65fd5ffb7c311e09fc6842b2ba7e81a, PRODUCT_ID=1, USER_ID=U0158703, WM_DIFFVER=DiffBase, DISTRICT_CODE=TX_N_DIS, WM_CODE=NC, MODIFIED_DATE=2012-09-04 10:13:08.973]
  </code></pre>
  
  <p>And here is what my table looks like:</p>
  
  <pre><code>[IS_DELETED=0, COLLECTION_SET_NAME=D-EIUCFOE-SET, null, null, PRODUCT_ID=1, null, null, null, WM_DIFFVER=DiffBase, null, DISTRICT_CODE=TX_N_DIS, WM_CODE=NC, MODIFIED_DATE=2012-09-04 10:13:08.973, null, null, null]
  </code></pre>
  
  <p>So when my code looks for the MAP_ID once this HashMap is created, it comes up with a null and it blows up.</p>
  
  <pre><code>table   HashMap$Entry&lt;K,V&gt;[16]  (id=248)    
      [0] HashMap$Entry&lt;K,V&gt;  (id=270)    
          hash    -1013369904 
          key "IS_DELETED" (id=883)   
          next    null    
          value   BigDecimal  (id=884)    
      [1] HashMap$Entry&lt;K,V&gt;  (id=271)    
          hash    449814449   
          key "COLLECTION_SET_NAME" (id=896)  
          next    HashMap$Entry&lt;K,V&gt;  (id=898)    
          value   "D-EIUCFOE-SET" (id=899)    
      [2] null    
      [3] null    
      [4] HashMap$Entry&lt;K,V&gt;  (id=275)    
          hash    -1942791868 
          key "PRODUCT_ID" (id=900)   
          next    HashMap$Entry&lt;K,V&gt;  (id=901)    
          value   BigDecimal  (id=902)    
      [5] null    
      [6] null    
      [7] null    
      [8] HashMap$Entry&lt;K,V&gt;  (id=276)    
          hash    -1109968520 
          key "WM_DIFFVER" (id=904)   
          next    null    
          value   "DiffBase" (id=905) 
      [9] null    
      [10]    HashMap$Entry&lt;K,V&gt;  (id=278)    
          hash    -1920690854 
          key "DISTRICT_CODE" (id=906)    
          next    null    
          value   "TX_N_DIS" (id=907) 
      [11]    HashMap$Entry&lt;K,V&gt;  (id=279)    
          hash    -1948303941 
          key "WM_CODE" (id=909)  
          next    null    
          value   "NC" (id=910)   
      [12]    HashMap$Entry&lt;K,V&gt;  (id=280)    
          hash    1002278668  
          key "MODIFIED_DATE" (id=912)    
          next    null    
          value   TIMESTAMP  (id=913) 
      [13]    null    
      [14]    null    
      [15]    null    
  </code></pre>
  
  <p>I can't get a hold of the MAP_ID Entry but that is coming back from the database as a String. </p>