A switch on String idiom for Java
By Bozhidar
I’ve always been frustrated with the inability to write a switch on String in Java. However the enum type introduced in Java 5.0 somewhat diminishes the issue. Read this excellent article on the subject.
Tags: Java
This entry was posted on May 4, 2009 at 11:04 am and is filed under Java. You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.