title: Can I pass a method into another method in Java
body: <p>For example I have the following method call:</p>
  
  <pre><code>Requests.sendGet("/type", Model.setTypes);
  </code></pre>
  
  <p>Model.setTypes is a setter for a List of Types,  I want the sendGet method to be able to call whatever method gets passed into it, and no the sendGet method can't just call Model.setTypes itself, because it depends on what type of Get request is being performed.</p>
  
  <p>Thanks to anyone who replies.</p>