|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectNode
public abstract class Node
DOCUMENT ME!
trunk/gt/modules
(gt-modules.jar
) (Maven report) (SVN head)Field Summary | |
---|---|
protected Envelope |
bounds
|
protected Entry[] |
entries
|
protected int |
entriesCount
|
protected boolean |
isChanged
|
protected int |
maxNodeEntries
|
Constructor Summary | |
---|---|
Node(int maxNodeEntries)
|
Method Summary | |
---|---|
void |
addEntry(Entry entry)
Adds an Entry to this Node |
void |
boundsChanged(Entry e)
|
void |
clear()
Removes all Entry s from this Node |
protected abstract void |
doSave()
Saves this Node ; called from save() |
Envelope |
getBounds()
The bounds of this node. |
Collection |
getEntries()
|
int |
getEntriesCount()
DOCUMENT ME! |
Entry |
getEntry(int n)
Gets the nth Element |
protected abstract Entry |
getEntry(Node node)
Returns the Entry pointing the specified Node |
abstract Node |
getParent()
DOCUMENT ME! |
boolean |
isLeaf()
DOCUMENT ME! |
void |
removeEntry(Entry entry)
Removes an Entry from this Node |
void |
save()
Saves this Node ; this method calls doSave() |
void |
setLeaf(boolean b)
DOCUMENT ME! |
abstract void |
setParent(Node node)
Sets the parent of this Node |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int entriesCount
protected int maxNodeEntries
protected Envelope bounds
protected Entry[] entries
protected boolean isChanged
Constructor Detail |
---|
public Node(int maxNodeEntries)
Method Detail |
---|
public final void addEntry(Entry entry)
Entry
to this Node
entry
- public final void removeEntry(Entry entry)
Entry
from this Node
entry
- The Entry
to removepublic void clear()
Entry
s from this Node
public boolean isLeaf()
public void setLeaf(boolean b)
b
- public int getEntriesCount()
public Entry getEntry(int n)
n
- public Collection getEntries()
public Envelope getBounds()
You will need to look at the prj to produce a referneced envelope for wider use.
public void boundsChanged(Entry e)
boundsChanged
in interface EntryBoundsChangeListener
EntryBoundsChangeListener.boundsChanged(org.geotools.index.rtree.Entry)
public final void save() throws TreeException
Node
; this method calls doSave()
TreeException
public abstract Node getParent() throws TreeException
TreeException
- DOCUMENT ME!public abstract void setParent(Node node)
Node
node
- The parent Node
protected abstract Entry getEntry(Node node)
Node
node
- The Node
Entry
protected abstract void doSave() throws TreeException
Node
; called from save()
TreeException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |