title: double colon assignment on method with two parameters
body: <p>I am using lamdbas so I can consistently set the properties of a ModelObject according to the values I can retrieve from three different objects. The code works like this:</p>
  
  <pre><code>public class Processor {
  
      private void bar(Setter setter, MyClass myObject) {
          String variable = myObject.getStringByABunchOfMethods();
          setter.setVariable(variable);
      }
  
      protected void foo(...) {
          ...
          bar(value -&gt; model.setA(CONSTANT, value), aObject);
          bar(value -&gt; model.setB(value), bObject);
          bar(value -&gt; model.setC(value), cObject);
          ...
      }
  
      private interface Setter {
          public void setVariable(String string);
      }
  
  }
  
  public interface IModel {
      public void setA(String arg0, String arg1);
      public void setB(String arg0);
      public void setC(String arg0);
  }
  </code></pre>
  
  <p>I have read <a href="https://stackoverflow.com/questions/20001427/double-colon-operator-in-java-8">here</a> that it is possible to rewrite <code>bar(value -&gt; model.setB(value), bObject);</code> to <code>bar(model::setB, bObject)</code>. I think this looks better and more concise, but I haven't found a way to rewrite the <code>setA</code> method to a double :: notation. Can anyone tell me if this is possible, and if so: how is this possible?</p>