?? gettraincommand.java~1~
字號:
package train.command;
import java.util.*;
/**
* <p>Title: </p>
*
* <p>Description: </p>
*
* <p>Copyright: Copyright (c) 2006</p>
*
* <p>Company: 沈陽化工學院計算機</p>
*
* @author 彭勝勇 胡林
* @version 1.0
*/
public class GetUserCommand extends Command {
List list;
public GetUserCommand() {
}
public void execute() {
try {
list = this.model.getUser();
} catch (Exception e) {
System.out.println("Exception getUser! "+e.getMessage());
list = null;
}
}
public List getList() {
return list;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -