Switch on Enum in Java - Stack Overflow
Possible Duplicates: Compilation error - switch with enum Why do I get an Enum constant reference cannot be qualified in a case label? Why can't you switch on an enum in Java? It seems ... One of the nice things about this approach is that it is simply .....