What\'s the best way to convert HashSet to String[]?
HashSet
String[]
set.toArray(new String[set.size()]);