O'Reilly logo
  • Ravindra Jain thinks this is interesting:

The Collections Framework offers three types of sets:

  • Mathematical set
  • Sorted set
  • Navigable set

Note

Mathematical set : HashSet, LinkedHashSet SortedSet : TreeSet (Read comparator and comparable interface concepts) Navigable Set : Hashset (If ordering is not needed) TreeSet (If ordering is needed)