less than 1 minute read

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.

Update

Java 7 now supports switch on String!

Tags:

Updated: