There should be a Java 8 switch