title: How can we have 2 parameters in java.util.function.Function lambda?
body: <p>We can create lambda functions like this:</p>
  
  <pre><code>Function&lt;Integer, String&gt; getLambda = (a) -&gt; new String("given value is "a);
  </code></pre>
  
  <p>I have a scenario where I need to take 2 values in a parameter. How can I accomplish that using Function? </p>
  
  <p>Example:</p>
  
  <pre><code>getLamda(10,20); // I know this line will give error. How can I acheive this? 
  </code></pre>