page.java
来自「操作系统中内存管理页面置换算法的模拟程序」· Java 代码 · 共 25 行
JAVA
25 行
public class Page
{
public int id;
public int physical;
public byte R;
public byte M;
public int inMemTime;
public int lastTouchTime;
public long high;
public long low;
public Page( int id, int physical, byte R, byte M, int inMemTime, int lastTouchTime, long high, long low )
{
this.id = id;
this.physical = physical;
this.R = R;
this.M = M;
this.inMemTime = inMemTime;
this.lastTouchTime = lastTouchTime;
this.high = high;
this.low = low;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?