public class BinaryTree
extends java.lang.Object
| Constructor and Description |
|---|
BinaryTree() |
| Modifier and Type | Method and Description |
|---|---|
void |
insert(com.vividsolutions.jts.geom.Coordinate pointKey,
java.lang.Integer data)
The method inserts new object into tree
|
void |
remove(com.vividsolutions.jts.geom.Coordinate pointKey)
The method removes object from tree
|
java.lang.Object |
search(com.vividsolutions.jts.geom.Coordinate pointKey)
The method searchs object with pointKey index
|
public void insert(com.vividsolutions.jts.geom.Coordinate pointKey,
java.lang.Integer data)
pointKey - -
index of objectdata - -
integer index of object to main data structurepublic void remove(com.vividsolutions.jts.geom.Coordinate pointKey)
pointKey - -
index of objectpublic java.lang.Object search(com.vividsolutions.jts.geom.Coordinate pointKey)
pointKey - -
index of objectCopyright © 2014 gvSIG Association. All Rights Reserved.