|
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.Node
abstract class Node
Abstract class for common implementation and definition of abstract methods for both concrete classes LeafNode and NoneLeafNode.
Field Summary | |
---|---|
protected int |
counter
|
protected PageFile |
file
|
protected HyperBoundingBox[] |
hyperBBs
|
protected int |
pageNumber
|
protected int |
parentNode
|
protected int |
place
|
protected HyperBoundingBox |
unionMinBB
|
Constructor Summary | |
---|---|
protected |
Node(int pageNumber,
PageFile pageFile)
Constructor. |
Method Summary | |
---|---|
protected abstract java.lang.Object |
clone()
Deep copy without data entries (only HyperBoundingBox objects) |
protected abstract void |
deleteData(int index)
Deletes a the entry with given index from node |
protected abstract java.lang.Object |
getData(int index)
Fetches the data for given index from node |
protected HyperBoundingBox |
getHyperBoundingBox(int index)
Returns the HyperBoundingBox for entrie with given index. |
protected HyperBoundingBox[] |
getHyperBoundingBoxes()
Returns an array of HyperBoundingBox objects of the entries of the node. |
protected int |
getPageNumber()
Returns the page number of this. |
protected Node |
getParent()
Returns the parent node of this. |
protected HyperBoundingBox |
getUnionMinBB()
Returns the HyperBoundingBox over all Entries currently in the node |
protected int |
getUsedSpace()
Currently used space in the node |
protected abstract void |
insertData(java.lang.Object obj,
HyperBoundingBox box)
Inserts the given data into the node |
protected boolean |
isRoot()
Tests if this is the root node. |
protected void |
setPageNumber(int number)
Sets the page number of this to given number |
java.lang.String |
toString()
String-Representation of Node |
protected void |
updateNodeBoundingBox()
Updates the HyperBoundingBox over all Entries currently in the node |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected transient PageFile file
protected int parentNode
protected int pageNumber
protected int counter
protected HyperBoundingBox unionMinBB
protected HyperBoundingBox[] hyperBBs
protected int place
Constructor Detail |
---|
protected Node(int pageNumber, PageFile pageFile)
pageNumber
- -
number of this node in page filepageFile
- -
the PageFile of this nodeMethod Detail |
---|
protected abstract void insertData(java.lang.Object obj, HyperBoundingBox box)
obj
- -
object to insert (Typ Integer oder AbstractNode)box
- -
the associated HyperBoundingBoxprotected abstract void deleteData(int index)
index
- -
index of entryprotected abstract java.lang.Object getData(int index)
index
- -
index of dataprotected Node getParent()
protected int getPageNumber()
protected void setPageNumber(int number)
number
- -
intprotected int getUsedSpace()
protected HyperBoundingBox getUnionMinBB()
protected void updateNodeBoundingBox()
protected HyperBoundingBox[] getHyperBoundingBoxes()
getUsedSpace()
protected HyperBoundingBox getHyperBoundingBox(int index)
index
- -
index of entry
protected boolean isRoot()
protected abstract java.lang.Object clone()
clone
in class java.lang.Object
Object.clone()
public java.lang.String toString()
toString
in class java.lang.Object
|
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