g.PageTable[PageNumber].blockNum=((Page)running.PageQueue.elementAt(0)).blockNum; st:for(inti=0;i<d.length;i++){ for(intj=0;j<d[i].length;j++){ if(d[i][j]==0&&running.PageQueue.size()>0){ d[i][j]=1; ((Page)running.PageQueue.elementAt(0)).flag=0; ((Page)running.PageQueue.elementAt(0)).blockNum=-1; ((Page)running.PageQueue.elementAt(0)).writed=0; ((Page)running.PageQueue.elementAt(0)).accessfield=0; ((Page)running.PageQueue.elementAt(0)).swapsapce_blockno=8*i+j; ((Page)running.PageQueue.elementAt(0)).t=0; running.PageQueue.removeElementAt(0); running.PageQueue.add(running.PageTable[PageNumber]); breakst; } } } //sb:for(intm=0;m<a.length;m++){ // for(intn=0;n<a[m].length;n++){ //?if(a[m][n]==0){ //a[m][n]=1; running.PageTable[PageNumber].flag=1; //running.PageTable[PageNumber].blockNum=8*m+n;