Yep, I've read
this, but I can't tell if I'm having the same problem, or the
opposite problem.
Basically, I'm trying to call a method with a varargs argument, but the parameters I want to pass are already in an array. I want to represent each item in the array as a seperate parameter to the method call.
example:
Problem is, the "foo" method is seeing the incoming arguments as a single argument of type Integer[], when I want it to see them as seperate arguments of type Integer.
Is there a way to do this, without knowing how many parameters will be passed?