I have previously blogged on how Groovy and ActionScript provide demonstrations of switching on Strings functionality that has not been available in Java. JDK 7 changes this for Java by introducing ...
Thanks for the reply! I thought about that approach, but am on the fence about it (it just doesn't seem like a clean way to go, for whatever reason). My feeling is that there must be code in the JDK ...