| |
|
| java.lang.Object org.deegree.io.rtree.Node
All known Subclasses: org.deegree.io.rtree.LeafNode, org.deegree.io.rtree.NoneLeafNode,
Node | abstract class Node implements Serializable(Code) | |
Abstract class for common implementation and definition of abstract methods for both concrete
classes LeafNode and NoneLeafNode.
author: Wolfgang Baer - WBaer@gmx.de author: last edited by: $Author: apoth $ version: $Revision: 9342 $, $Date: 2007-12-27 04:32:57 -0800 (Thu, 27 Dec 2007) $ |
Constructor Summary | |
protected | Node(int pageNumber, PageFile pageFile) Constructor. |
counter | protected int counter(Code) | | |
pageNumber | protected int pageNumber(Code) | | |
parentNode | protected int parentNode(Code) | | |
place | protected int place(Code) | | |
Node | protected Node(int pageNumber, PageFile pageFile)(Code) | | Constructor.
Parameters: pageNumber - -number of this node in page file Parameters: pageFile - -the PageFile of this node |
deleteData | abstract protected void deleteData(int index)(Code) | | Deletes a the entry with given index from node
Parameters: index - -index of entry |
getData | abstract protected Object getData(int index)(Code) | | Fetches the data for given index from node
Parameters: index - -index of data |
getHyperBoundingBox | protected HyperBoundingBox getHyperBoundingBox(int index)(Code) | | Returns the HyperBoundingBox for entrie with given index.
Parameters: index - -index of entry HyperBoundingBox |
getHyperBoundingBoxes | protected HyperBoundingBox[] getHyperBoundingBoxes()(Code) | | Returns an array of HyperBoundingBox objects of the entries of the node. The array may be
empty - for used place in the node see getUsedSpace.
HyperBoundingBox[] - boxes of the entries See Also: Node.getUsedSpace() |
getPageNumber | protected int getPageNumber()(Code) | | Returns the page number of this.
int |
getParent | protected Node getParent()(Code) | | Returns the parent node of this.
Node |
getUnionMinBB | protected HyperBoundingBox getUnionMinBB()(Code) | | Returns the HyperBoundingBox over all Entries currently in the node
HyperBoundingBox |
getUsedSpace | protected int getUsedSpace()(Code) | | Currently used space in the node
int |
insertData | abstract protected void insertData(Object obj, HyperBoundingBox box)(Code) | | Inserts the given data into the node
Parameters: obj - -object to insert (Typ Integer oder AbstractNode) Parameters: box - -the associated HyperBoundingBox |
isRoot | protected boolean isRoot()(Code) | | Tests if this is the root node.
boolean |
setPageNumber | protected void setPageNumber(int number)(Code) | | Sets the page number of this to given number
Parameters: number - -int |
toString | public String toString()(Code) | | String-Representation of Node
|
updateNodeBoundingBox | protected void updateNodeBoundingBox()(Code) | | Updates the HyperBoundingBox over all Entries currently in the node
|
|
|
|