//The following line of code allocates a HashSet whose initial capacity is 64. Set<String> s = new HashSet<String>(64);
HashSet is much faster than TreeSet(constant-time versus log-time for most operations) but offers no ordering guarantees.
Clickable & Draggable!