title: Advantages of using a HashSet over HashMap
body: <p>According to JavaDoc API a HashSet is just a wrapper around a HashMap.  Therefore can there ever be any performance benefit to using a HashSet over a HashMap.  Ever? Ever?  Or is just to have a different API which suits other cases?</p>