?? command.java
字號(hào):
package trader.nw;
import trader.*;
import java.io.*;
public abstract class Command implements Serializable {
protected Object result = null;
protected Exception excep = null;
protected abstract void execute(BrokerModel broker);
/**
* @exception DuplicateException
* if another record has same primary key
* @exception RecordNotFoundException
* if no record is found in the table
*/
public Object getResult( ) throws Exception{
if (this.result != null){
return this.result;
}
if (this.excep != null){
throw this.excep;
}
return null;
}
}
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -