title: How do HashSets in Java work?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/6493605/how-does-java-hashmap-work">How does Java hashmap work?</a>  </p>
  </blockquote>
  
  
  
  <p>Can someone explain to me how HashSets in java work and why they are faster than using ArrayLists?</p>