title: How to add a value into an array of values in Hash Table Java
body: <p>I´m traying to add a value inside an array of values when the key of my hash table is repeated. 
  For example,</p>
  
  <blockquote>
    <p>Key1 = 123 || Value1 = 23</p>
    
    <p>Key2 = 123 || Value2 = 56</p>
  </blockquote>
  
  <p>So when I´m done adding my elements, I expect something like</p>
  
  <blockquote>
    <p>Key1 ==> [23,56]</p>
  </blockquote>
  
  <p>I have initialized my hash table like this</p>
  
  <pre><code>private myHash&lt;Integer, myObject[]&gt; data; 
  </code></pre>