org.geotools.index.rtree.memory
Class MemoryNode

java.lang.Object
  extended byorg.geotools.index.rtree.Node
      extended byorg.geotools.index.rtree.memory.MemoryNode
All Implemented Interfaces:
EntryBoundsChangeListener

public class MemoryNode
extends Node

DOCUMENT ME!

Author:
Tommaso Nolli

Field Summary
 
Fields inherited from class org.geotools.index.rtree.Node
bounds, entries, entriesCount, isChanged, maxNodeEntries
 
Constructor Summary
MemoryNode(int maxNodeEntries)
          DOCUMENT ME!
 
Method Summary
protected  void doSave()
          Saves this Node; called from save()
protected  Entry getEntry(Node node)
          Returns the Entry pointing the specified Node
 Node getParent()
          DOCUMENT ME!
 void setParent(Node node)
          Sets the parent of this Node
 
Methods inherited from class org.geotools.index.rtree.Node
addEntry, boundsChanged, clear, getBounds, getEntries, getEntriesCount, getEntry, isLeaf, removeEntry, save, setLeaf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MemoryNode

public MemoryNode(int maxNodeEntries)
DOCUMENT ME!

Parameters:
maxNodeEntries -
Method Detail

getParent

public Node getParent()
               throws TreeException
Description copied from class: Node
DOCUMENT ME!

Specified by:
getParent in class Node
Returns:
Throws:
TreeException - DOCUMENT ME!
See Also:
Node.getParent()

setParent

public void setParent(Node node)
Description copied from class: Node
Sets the parent of this Node

Specified by:
setParent in class Node
Parameters:
node - The parent Node
See Also:
Node.setParent(org.geotools.index.rtree.Node)

getEntry

protected Entry getEntry(Node node)
Description copied from class: Node
Returns the Entry pointing the specified Node

Specified by:
getEntry in class Node
Parameters:
node - The Node
Returns:
The Entry
See Also:
Node.getEntry(org.geotools.index.rtree.Node)

doSave

protected void doSave()
               throws TreeException
Description copied from class: Node
Saves this Node; called from save()

Specified by:
doSave in class Node
Throws:
TreeException
See Also:
Node.doSave()


Copyright © GeoTools. All Rights Reserved.