Switch on Enum in Java
<blockquote>
  <p><strong>Possible Duplicates:</strong><br>
  <a href="http://stackoverflow.com/questions/5551568/compilation-error-switch-with-enum">Compilation error - switch with enum</a><br>
  <a href="http://stackoverflow.com/questions/2663980/why-do-i-get-an-enum-constant-reference-cannot-be-qualified-in-a-case-label">Why do I get an Enum constant reference cannot be qualified in a case label?</a>  </p>
</blockquote>



<p>Why can't you switch on an enum in Java? It seems simple enough to do and would make for some convenient code. Also this question could apply to <code>String</code>'s. You can switch on a <code>char</code>, but not a <code>String</code> ...?</p>
