|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.index.rtree.Node
DOCUMENT ME!
Field Summary | |
protected com.vividsolutions.jts.geom.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() |
com.vividsolutions.jts.geom.Envelope |
getBounds()
DOCUMENT ME! |
java.util.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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected int entriesCount
protected int maxNodeEntries
protected com.vividsolutions.jts.geom.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 java.util.Collection getEntries()
public com.vividsolutions.jts.geom.Envelope getBounds()
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 |