title: Returning a value from a method within a lambda expression
body: <p>I'm trying to figure out how to return a method value from a lambda expression:</p>
  
  <pre><code>public int findMissingNumber(Collection&lt;Integer&gt; ints) {
      Single&lt;Integer&gt; start = new Single&lt;&gt;(1);
      ints.stream().mapToInt(Integer::valueOf).parallel().forEach(i -&gt; {
          if (i != start.setValue(start.getValue() + 1)) {
              //return here
          }
      });
      return -1;
  }
  </code></pre>
  
  <p>However, it seems that using the <code>return</code> keyword in the lambda expression will explicitly return to the lambda function itself. Is there some type of way to break or force a return for the entire method?</p>