public abstract class AbstractPage extends Object implements Page
| Constructor and Description |
|---|
AbstractPage(PageManager pageManager,
int index) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
void |
clearBytes(int startIndex) |
int |
compareTo(Page page) |
void |
flush() |
int |
getIndex() |
PageManager |
getPageManager() |
int |
hashCode() |
byte |
readByte() |
byte[] |
readBytes(byte[] bytes,
int offset,
int count) |
byte[] |
readBytes(int size) |
double |
readDouble() |
float |
readFloat() |
int |
readInt() |
long |
readLong() |
protected abstract int |
readNextByte() |
short |
readShort() |
void |
writeByte(byte b) |
protected abstract void |
writeByte(int b) |
void |
writeBytes(byte[] bytes) |
void |
writeBytes(byte[] bytes,
int offset,
int count) |
void |
writeDouble(double d) |
void |
writeFloat(float f) |
void |
writeInt(int i) |
void |
writeLong(long l) |
void |
writeShort(short s) |
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetContent, getOffset, getSize, setContent, setOffsetpublic AbstractPage(PageManager pageManager, int index)
public void clearBytes(int startIndex)
clearBytes in interface Pagepublic int compareTo(Page page)
compareTo in interface Comparable<Page>public PageManager getPageManager()
getPageManager in interface Pagepublic byte[] readBytes(byte[] bytes,
int offset,
int count)
public double readDouble()
readDouble in interface Pageprotected abstract int readNextByte()
protected abstract void writeByte(int b)
public void writeBytes(byte[] bytes)
writeBytes in interface Pagepublic void writeBytes(byte[] bytes,
int offset,
int count)
writeBytes in interface Pagepublic final void writeDouble(double d)
writeDouble in interface Pagepublic final void writeFloat(float f)
writeFloat in interface Pagepublic final void writeShort(short s)
writeShort in interface PageCopyright © 2015 Revolution Systems Inc.. All rights reserved.