|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object global.PageId
class PageId
Field Summary | |
static PageId |
InvalidPage
|
int |
pid
public int pid |
Constructor Summary | |
PageId()
Default constructor |
|
PageId(int pageno)
constructor of class |
|
PageId(PageId other)
copy constructor |
Method Summary | |
void |
copyPageId(PageId pageno)
make a copy of the given pageId |
boolean |
equals(java.lang.Object o)
|
int |
getPid()
|
int |
hashCode()
Allow for these objects to work right inside the Java hashtable class |
java.lang.String |
toString()
|
void |
writeToByteArray(byte[] ary,
int offset)
Write the pid into a specified bytearray at offset |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public int pid
public static final PageId InvalidPage
Constructor Detail |
public PageId()
public PageId(int pageno)
pageno
- the page IDpublic PageId(PageId other)
Method Detail |
public int getPid()
public void copyPageId(PageId pageno)
public void writeToByteArray(byte[] ary, int offset) throws java.io.IOException
ary
- the specified bytearrayoffset
- the offset of bytearray to write the pid
java.io.IOException
- I/O errorspublic java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object o)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |