drcb.java
来自「一个简单的操作系统模拟程序 java+swing 可进行一般的文件操作 进」· Java 代码 · 共 40 行
JAVA
40 行
/*
* DRCB.java
*
* Created on 2006年12月13日, 下午7:04
*
*The Device Request Control Block for the system
*History 2006年12月13日 ver 0.1.0 class create
* first release
*
*/
package ossimulation;
/**
*
* @author Decell.Zhou
*/
public class DRCB {
/** Creates a new instance of DRCB */
public DRCB(int argRequestTime,PCB argRequestProcess) {
requestTime = argRequestTime;
requestProcess = argRequestProcess;
}
/**get the time that the process request to impropriate the device*/
public int getRequestTime(){
return requestTime;
}
/**get the PCB of the request process*/
public PCB getRequestProcess(){
return requestProcess;
}
private int requestTime;
private PCB requestProcess;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?