|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PageDatabase
Contains an index of the pages we will provide. Does the book-keeping to make sure that each page is only accessed twice.
Method Summary | |
---|---|
int |
getMaxPages()
|
int |
getNumPages()
|
byte[] |
getPage(int key)
Use the key to return a page. |
Method Detail |
---|
int getNumPages()
int getMaxPages()
byte[] getPage(int key)
key
- The key we are trying to match.
null
if the database is empty.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |