org.geotools.index.quadtree.fs
Class FileSystemNode

Object
  extended by Node
      extended by FileSystemNode

public class FileSystemNode
extends Node

DOCUMENT ME!

Author:
Tommaso Nolli
Module:
modules/plugin/shapefile (gt-shapefile.jar)

Field Summary
 
Fields inherited from class Node
id, numShapesId, shapesId, subNodes
 
Method Summary
 Node copy()
           
 int getNumSubNodes()
          DOCUMENT ME!
 Node getSubNode(int pos)
          Gets the Node at the requested position
 int getSubNodesLength()
          DOCUMENT ME!
 int getSubNodeStartByte()
          DOCUMENT ME!
static FileSystemNode readNode(int id, Node parent, FileChannel channel, ByteOrder order)
          DOCUMENT ME!
 void setNumSubNodes(int numSubNodes)
          DOCUMENT ME!
 
Methods inherited from class Node
addShapeId, addSubNode, clearSubNodes, getBounds, getNumShapeIds, getShapeId, getShapesId, isChildrenVisited, isVisited, removeSubNode, setBounds, setChildrenVisited, setShapesId, setVisited
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

copy

public Node copy()
          throws IOException
Overrides:
copy in class Node
Throws:
IOException

getNumSubNodes

public int getNumSubNodes()
DOCUMENT ME!

Overrides:
getNumSubNodes in class Node
Returns:
Returns the numSubNodes.

setNumSubNodes

public void setNumSubNodes(int numSubNodes)
DOCUMENT ME!

Parameters:
numSubNodes - The numSubNodes to set.

getSubNodeStartByte

public int getSubNodeStartByte()
DOCUMENT ME!

Returns:
Returns the subNodeStartByte.

getSubNodesLength

public int getSubNodesLength()
DOCUMENT ME!

Returns:
Returns the subNodesLength.

getSubNode

public Node getSubNode(int pos)
                throws StoreException
Description copied from class: Node
Gets the Node at the requested position

Overrides:
getSubNode in class Node
Parameters:
pos - The position
Returns:
A Node
Throws:
StoreException - DOCUMENT ME!
See Also:
Node.getSubNode(int)

readNode

public static FileSystemNode readNode(int id,
                                      Node parent,
                                      FileChannel channel,
                                      ByteOrder order)
                               throws IOException
DOCUMENT ME!

Parameters:
channel -
order - DOCUMENT ME!
Throws:
IOException


Copyright © 1996-2010 Geotools. All Rights Reserved.