I have a ArrayList<String> and I need to pass each String in this ArrayList, as parameter of this function:
protected Void myFunction(String... params)
NOTE: I can't modify myFunction
Transform it to an array with the toArray method :
myList.toArray(new String[myList.size()]);
Convert the arraylist into array of String and then pass it
instanceName.myFunction(list.toArray(new String[list.size()]));
NOTE: You don't have to change the signature of your method.
CHECK THIS: http://docs.oracle.com/javase/6/docs/api/java/util/ArrayList.html#toArray()
Stringarray , why do you need to pass as individualString?