?? process.java~25~
字號:
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(3); System.out.println(p.getTime()); }}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -