?? command.java
字號:
import java.io.Serializable;
public abstract class Command implements Serializable {
protected Object result = null;
protected Exception excep = null;
protected abstract void execute(DrawModel broker);
public Object getResult( ) throws Exception{
if (this.result != null){
return this.result;
}
if (this.excep != null){
throw this.excep;
}
return null;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -