title: Java inline predicates: cannot be resolved to a variable
body: <p>Sorry for the simple question - I come from the .NET stack. All I want is an inline Predicate. Please tell me what I'm doing wrong:</p>
  
  <pre><code>toReturn = Iterables.find(articles, a -&gt; a.toString().equals(input));
  </code></pre>
  
  <p>It tells me that 'a cannot be resolved to a variable'. I'm assuming that I just need an import or that I'm using an old version of Java? Thanks in advance!</p>