switch括号内变量类型为String_cannot invoke "string.hashcode()" because

switch括号内变量类型为String_cannot invoke "string.hashcode()" because