⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 drcb.java

📁 一个简单的操作系统模拟程序 java+swing 可进行一般的文件操作 进程建立及删除等
💻 JAVA
字号:
/*
 * 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -