|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.io.rtree.PageFile org.deegree.io.rtree.MemoryPageFile
class MemoryPageFile
A memory based implementation of a PageFile.
Implemented as a Hashtable with keys representing the page file numbers of the saved nodes.
Field Summary |
---|
Fields inherited from class org.deegree.io.rtree.PageFile |
---|
capacity, dimension, minimum |
Constructor Summary | |
---|---|
protected |
MemoryPageFile()
Constructor |
Method Summary | |
---|---|
protected void |
close()
Closes the pagefile. |
protected Node |
deleteNode(int pageNumber)
Marks the node at given page number as deleted. |
protected Node |
readNode(int pageFile)
Reads a node from the PageFile for given index |
protected int |
writeNode(Node node)
Writes a node into the PageFile Method tests if node has already a PageNumber, otherwise a new page number is assigned and returned. |
Methods inherited from class org.deegree.io.rtree.PageFile |
---|
getCapacity, getDimension, getMinimum, initialize |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected MemoryPageFile()
Method Detail |
---|
protected Node readNode(int pageFile) throws PageFileException
PageFile
readNode
in class PageFile
pageFile
- -
index of page file number where node is saved
PageFileException
PageFile.readNode(int)
protected int writeNode(Node node) throws PageFileException
PageFile
writeNode
in class PageFile
node
- -
Node to write
PageFileException
PageFile.writeNode(Node)
protected Node deleteNode(int pageNumber)
PageFile
deleteNode
in class PageFile
pageNumber
- -
page number
PageFile.deleteNode(int)
protected void close() throws PageFileException
PageFile
close
in class PageFile
PageFileException
PageFile.close()
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org