title: Is switch with strings more than just syntactic sugar?
body: <p>Since Java 1.7, strings can be used with switch statements, which has me wondering about something. <code>switch</code> statements on integer values be turned into jump tables, which are faster than simply doing <code>if</code> checks on integers calculated at runtime; can a similar optimization be done with strings or is this just syntactic sugar?</p>