title: Check enum for multiple values
body: <p>I have an enum <code>FileType</code></p>
  
  <pre><code>public static enum FileType {
    CSV, XML, XLS, TXT, FIXED_LENGTH
  }
  
  FileType fileType = FileType.CSV;
  </code></pre>
  
  <p>Is there a better (cleaner) way to check <code>fileType</code> for multiple values than the following (like <code>"myString".matches("a|b|c");</code>)?</p>
  
  <pre><code>if(fileType == FileType.CSV || fileType == FileType.TXT || fileType == FileType.FIXED_LENGTH) {}
  </code></pre>