freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

操作系統(tǒng)實(shí)驗(yàn)進(jìn)程調(diào)度和內(nèi)存管理java語言版本-展示頁

2025-07-08 14:01本頁面
  

【正文】 new JLabel(優(yōu)先級(jí))。 newButton = new JButton(新建進(jìn)程)。 relaxButton = new JButton(釋放)。 (null)。 //()。 waitingPanel = new JPanel()。 newPanel = new JPanel()。 (null)。 JFrame jf = new JFrame(進(jìn)程調(diào)度ws)。 end = 0。 public MainFrame() { a = new PcbDTO()。 int point。 int first。 Object[][] divdata。 Object[][] readydata。 divDTO []divDtoArray。 PcbDTO []readyDtoArray。 Vector waitingVectorName。 Vector jobVectorName。 private JPanel waitingPanel。 private JComboBox prorityCom。 private JTextField timeText。 private JTable allocTable。 private JTable runningTable。 private JLabel allocLabel。 private JLabel spaceLabel。 private JLabel waitingLabel。 private JLabel jobLabel。 private JLabel prorityLabel。 private JButton newButton。 private JButton relaxButton。 private JList jobList。public class MainFrame{ private JList readyList。import .*。import .*。 } public int getLimit() { return 。 } public void setBase(int base) { = base。 } return s。 } else if( == 2) { s = ready。 } public String getProcessState() { String s = new String()。 } public int getPrority() { return 。 } public int getRunTime() { return 。 } public String getProcessName() { return processName。 } public PcbDTO() { = 0。 = limit。 = pro。 public PcbDTO(String name, int time,int pro,int base,int limit) { = name。 private int limit。 private int processState。 private int runTime。 static final int Waiting = 3。 }}:PcbDTOpublic class PcbDTO{ static final int Running = 1。 } public void setDivFlag(int flag) { = flag。 } public void setLength(int length) { = length。 } public divDTO() { } public void setDivBase(int base) { = base。 = divFlag。 private int divFlag。源代碼:第一個(gè)類:divDTOpublic class divDTO{ private int divBase。 private int length。 public divDTO(int divBase,int length,int divFlag) { = divBase。 = length。 } public int getDivBase() { return 。 } public int getLength() { return 。 } public int getDivFalg() { return 。 static final int Ready = 2。 private String processName。 private int prority。 private int base。 private int pcbFlag。 = time。 = 0。 = base。} public void setProcessName(String name) { = name。 } public void setRunTime(int time) { = time。 } public void setPrority(int prority) { = prority。 } public void setProcessState(int state) { = state。 if( == 1) { s = running。 } else if( == 3) { s = waiting。 } public int getBase() { return 。 } public void setLimit(int limit) { = limit。 } }第三個(gè)類:主類import .*。import .*。import .*。 private JList waitingList。 private JButton susButton。 private JButton startButton。 private JLabel nameLabel。 private JLabel timeLabel。 private JLabel readyLabel。 private JLabel runningLabel。 private JLabel divLabel。 private JTable readyTable。 private JTable divTable。 private JTextField nameText。 private JTextField spaceText。 private JPanel newPanel。 private JPanel readyPanel。 Vector jobDtoVector。 Vector waitingDtoVector。 PcbDTO []newDtoArray。 PcbDTO []newSort。 Object[][] runningdata。 Object[][] allocdata。 int end。 PcbDTO a 。 first = 0。 point = 0。 Container c = ()。 //()。 (null)。 (null)。 readyPanel = new JPanel()。 susButton = new JButton(掛起)。 startButton = new JButton(開始)。 nameLabel = new JLabel(進(jìn)程名)。 timeLabel = new JLabel(運(yùn)行時(shí)間)。 readyLabel = new JLabel(就緒隊(duì)列)。 runningLabel = new JLabel(運(yùn)行進(jìn)程)。 divLabel = new JLabel(未分分區(qū)表)。 nameT
點(diǎn)擊復(fù)制文檔內(nèi)容
教學(xué)課件相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1