Exemplo n.º 1
0
 private static String[] toArray(Iterable<String> iter) {
   ListBuffer<String> result = new ListBuffer<String>();
   if (iter != null) for (String s : iter) result.append(s);
   return result.toArray(new String[result.length()]);
 }