vetcommands.java
来自「利用设计模式设计的宠物中心管理系统!分为管理员管理」· Java 代码 · 共 17 行
JAVA
17 行
package vetcommand;
import command.*;
import java.util.*;
public class VetCommands extends Commands {
public VetCommands(){
this.addCommand("InsertVetCommand",new InsertVetCommand());
this.addCommand("DeleteVetCommand",new DeleteVetCommand());
this.addCommand("GetVetByIdCommand",new GetVetByIdCommand());
this.addCommand("ModifyVetCommand",new ModifyVetCommand());
this.addCommand("GetAllVetCommand",new GetAllVetCommand());
}
public Map executeVet(String cmdName,Map param){
return this.execute(cmdName,param);
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?