📄 process.java~26~
字号:
package cn.edu.cauc.crab.ossimulate;/** * * <p>Title: OS simulate</p> * <p>Description: This is my home work.</p> * <p>Copyright: Copyleft (c) 2004</p> * <p>Company: CAUC</p> * @author Crab * @version 0.1 *//** * To simulate process, to make it simple, <br> * I don't let it have instructions, <br> * I think if I will write the next version, <br> * I will let it more like true process.:) <br> * * @author Crab * @version 0.1 */public class Process { private int time; /** Construct a Process. * @param time A int to show how long will the process run. */ public Process(int time) { this.time = time; } /** Get the time of this process. * @return int the time of this process. */ public int getTime() { return time; } /** For the Unit test. */ public static void main(String[] args) { Process p = new Process(233); System.out.println(p.getTime()); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -