title: Java why use hashSet?
body: <p>I am a beginner in Java, so this may be a dumb question. 
  Why we need hashSet in Java? 
  I just learned that Java hashSet is actually implemented with HashMap. In my understanding, whenever we use hashSet, we can always use hashmap, so why we need hashSet in java?</p>
  
  <p>Thanks</p>