?? usercommand.java
字號:
/* * To change this template, choose Tools | Templates * and open the template in the editor. */package ui;import java.util.Scanner;import logical.AgendaService;/** * 實現用戶類操作公共屬性的抽象類 * @author zouhao */public abstract class UserCommand implements Command{ String username; String password; Scanner scanner; boolean success; AgendaService agenda; /** * 分析命令的抽象方法 * @param input 輸入的命令 */ public abstract void parse(String input); /** * 執行命令的抽象方法 * @return 執行結果 */ public abstract boolean Execute(); /** * 打印方法 * @return 需打印的字符串 */ public abstract String ToString();}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -