String.equals() with multiple conditions (and one action on result)
<p>Is it possible to do something like this in Java for Android (this is a pseudo code)</p>

<pre><code>IF (some_string.equals("john" OR "mary" OR "peter" OR "etc."){
   THEN do something
}
</code></pre>

<p>?</p>

<p>At the moment this is done via multiple <code>String.equals()</code> condition with <code>||</code> among them. </p>
