I am trying to compile and I get this error:
enigma/Rotor.java:30: incompatible types found : java.lang.String required: int switch(name){ 1 error
In Java, you can only do a switch on byte, char, short, or int, and not a String.