I need to get a String[] out of a Set, but I don\'t know how to do it. The following fails:
String[]
Set
Map myMa
Set stringSet= new HashSet<>(); String[] s = (String[])stringSet.toArray();