title: HashMap Java example to avoid collision
body: <p>I am using <code>HashMap</code> in java to store key and <code>Object &lt;Key,Object&gt;</code>.  And I read about hashmap collision and I am trying to avoid it by using linked list.</p>
  
  <p>I did some search online, but I couldn't find an example how to do this.</p>
  
  <p>Can somebody point me to an online resources that implement the hashmap with linked list?</p>