title: Java Convert Array to Parameters
body: <p>Is there a way to convert an array to a list of parameters..?</p>
  
  <pre><code>main(){
     //"a" is an array or a list or some collection
     myPrint(a.SomeMethod);
  }
  
  void myPrint(int a){
  //Do Stuff to arguments
  }
  
  void myPrint(int a, int b){
  //Do Stuff to arguments
  }
  
  void myPrint(int a, int b, int c){
  //Do Stuff to arguments
  }
  </code></pre>
  
  <p>I want to convert "a" into a parameter/argument list so it will automatically call the appropriate function. </p>