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
Use toArray(T[] a) method:
String[] array = set.toArray(new String[0]);