|
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 org.deegree.io.rtree.LeafNode
class LeafNode
Implementation of a LeafNode. Inherits methods from the abstract class Node filling the defined abstract methods with life.
Field Summary | |
---|---|
protected int[] |
data
|
Fields inherited from class org.deegree.io.rtree.Node |
---|
counter, file, hyperBBs, pageNumber, parentNode, place, unionMinBB |
Constructor Summary | |
---|---|
protected |
LeafNode(int pageNumber,
PageFile file)
Constructor. |
protected |
LeafNode(PageFile file)
Constructor. |
Method Summary | |
---|---|
protected java.lang.Object |
clone()
Deep copy without data entries (only HyperBoundingBox objects) |
protected void |
deleteData(int index)
Deletes a the entry with given index from node |
protected java.lang.Object |
getData(int index)
Return type is an Integer object |
protected void |
insertData(java.lang.Object obj,
HyperBoundingBox box)
Inserts the given data into the node |
Methods inherited from class org.deegree.io.rtree.Node |
---|
getHyperBoundingBox, getHyperBoundingBoxes, getPageNumber, getParent, getUnionMinBB, getUsedSpace, isRoot, setPageNumber, toString, updateNodeBoundingBox |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected int[] data
Constructor Detail |
---|
protected LeafNode(int pageNumber, PageFile file)
pageNumber
- -
number of this node in page filefile
- -
the PageFile of this nodeprotected LeafNode(PageFile file)
file
- -
the PageFile of this nodeMethod Detail |
---|
protected java.lang.Object getData(int index)
getData
in class Node
index
- -
index of dataNode.getData(int)
protected void insertData(java.lang.Object obj, HyperBoundingBox box)
Node
insertData
in class Node
obj
- -
object to insert (Typ Integer oder AbstractNode)box
- -
the associated HyperBoundingBoxNode.insertData(java.lang.Object, HyperBoundingBox)
protected void deleteData(int index)
Node
deleteData
in class Node
index
- -
index of entryNode.insertData(java.lang.Object, HyperBoundingBox)
protected java.lang.Object clone()
Node
clone
in class Node
Node.clone()
|
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