title: compare where in
body: <p>I'm looking for some library with static functions to eliminate duplication in code that compare "things".</p>
  
  <pre><code>(evil.equals(s1) || evil.equals(s2) || evil.equals(s3))
  (evil == enum1 || evil == enum2 || evil == enum3)
  </code></pre>