Set collection supplement
HashSet added data, must implement equals and hashCode method
keys HashSet HashMap is encapsulated, the data added HashMap
TreeSet
Adding data can be automatically sorted, you must implement the Comparable interface
LinkedHashSet
Adding data can keep the original order