title: Does Java have a "IN" operator or function like SQL?
body: <p>I want to know if there's a way of doing something like this in Java :</p>
  
  <pre><code>if(word in stringArray) {
    ...
  }
  </code></pre>
  
  <p>I know I can make a function for this but I just want to know if Java has already something for this.</p>
  
  <p>Thank you!</p>