title: What's the most elegant/idiomatic way to check if a string is in a list?
body: <p>In Java, what's the most elegant/idiomatic way to check if a string is in a list?</p>
  
  <p>E.g., if I have <code>String searchString = "abc"; List&lt;String&gt; myList = ....</code>, what's Java's equivalent to what I would do in Perl as:</p>
  
  <pre><code>my $isStringInList = grep { /^$searchString$/ } @myList;
  # or in Perl 5.10+
  my $isStringInList = $searchString ~~ @myList;
  </code></pre>
  
  <p>?</p>