public class KDNode2 extends Object implements Serializable
| Constructor and Description |
|---|
KDNode2(GeoPoint object) |
KDNode2(GeoPoint object,
int height) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
GeoPoint |
getCoordinate() |
int |
getHeight() |
KDNode2 |
getLeft() |
KDNode2 |
getParent() |
KDNode2 |
getRight() |
int |
hashCode() |
boolean |
isLeaf() |
boolean |
isLeftEmpty() |
boolean |
isParentEmpty() |
boolean |
isRightEmpty() |
void |
setCoordinate(GeoPoint coordinate) |
void |
setHeight(int height) |
void |
setLeft(KDNode2 left) |
void |
setParent(KDNode2 parent) |
void |
setRight(KDNode2 right) |
public KDNode2(GeoPoint object, int height)
object - height - public KDNode2(GeoPoint object)
object - public boolean isLeftEmpty()
public boolean isRightEmpty()
public boolean isParentEmpty()
public boolean isLeaf()
public KDNode2 getLeft()
public void setLeft(KDNode2 left)
left - public KDNode2 getRight()
public void setRight(KDNode2 right)
right - public KDNode2 getParent()
public void setParent(KDNode2 parent)
parent - public GeoPoint getCoordinate()
public void setCoordinate(GeoPoint coordinate)
coordinate - public int getHeight()
public void setHeight(int height)
height - Copyright © 2018 Terra Software Informatics LLC.. All rights reserved.