|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--Speicher.Reference
In Refence is one reference to a page saved. It contains the number of the accessed page and the type of access (Read/Write)
| Field Summary | |
private boolean |
isReadPage
Type of reference: READ/WRITE |
static boolean |
ISREADPAGE
Constant to initialize the type of access with READ |
private int |
pageNr
Number of the referenced page |
static java.lang.String |
READ
Constant for loading/saving references with READ access. |
static java.lang.String |
WRITE
Constant for loading/saving references with WRITE access. |
| Constructor Summary | |
Reference()
Create a new initial reference |
|
Reference(int pageNr,
boolean isReadPage)
Create a new reference with the given pageNr and accessType |
|
| Method Summary | |
int |
getPageNr()
Returns the number of the referenced page |
boolean |
isReadPage()
Returns true, if the type of acces is Read |
void |
setPageNr(int pageNr)
Sets the page number |
void |
setReadPage(boolean isReadPage)
Sets the type of access to the given type |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
public static final boolean ISREADPAGE
public static final java.lang.String READ
public static final java.lang.String WRITE
private int pageNr
private boolean isReadPage
| Constructor Detail |
public Reference()
public Reference(int pageNr,
boolean isReadPage)
| Method Detail |
public int getPageNr()
public boolean isReadPage()
public void setReadPage(boolean isReadPage)
public void setPageNr(int pageNr)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||