title: how to have dynamic method parameters
body: <p>Lets say i have a method</p>
  
  <p><code>public abstract void doMath(Holder h);</code></p>
  
  <p>But I want the user to be able to <em>adjust</em> the class being passed in. Like such</p>
  
  <p><code>public abstract void doMath(ClassOfPersonalChoice h);</code></p>
  
  <p>How would I go about doing that.</p>
  
  <p>Thank you for your time and effort.</p>
  
  <p>PS: The class being passed contains a bunch of variables.
  ie.</p>
  
  <pre><code>class ClassofPersonalChoice{
      double hue = 0;
  int R = 240;
  int G = 10;
  int B = 180;
  }
  </code></pre>