📅  最后修改于: 2022-03-11 15:04:56.984000             🧑  作者: Mango
String tableName;
switch(PARAM):
case "Value1": tableName = "fooTable";
break;
case "Value2": tableName = "barTable";
break;
...
default : throw new InputValidationException("unexpected value provided"