Look at using a second HashSet to save the dup entries discovered when adding to a first HashSet. After all strings added to the first, use the removeAll method to generate a unique list.
Type: Posts; User: Norm
Look at using a second HashSet to save the dup entries discovered when adding to a first HashSet. After all strings added to the first, use the removeAll method to generate a unique list.
Look at the HashSet add method for one tool to use.