Class PointRegionQuadTreeRowIndexAdd
java.lang.Object
com.espertech.esper.common.internal.epl.spatial.quadtree.prqdrowindex.PointRegionQuadTreeRowIndexAdd
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
add
(double x, double y, Object value, PointRegionQuadTree<Object> tree, boolean unique, String indexName) Add value.static int
addToLeaf
(PointRegionQuadTreeNodeLeaf<Object> leaf, double x, double y, Object value, boolean unique, String indexName)
-
Constructor Details
-
PointRegionQuadTreeRowIndexAdd
public PointRegionQuadTreeRowIndexAdd()
-
-
Method Details
-
add
public static boolean add(double x, double y, Object value, PointRegionQuadTree<Object> tree, boolean unique, String indexName) Add value.- Parameters:
x
- xy
- yvalue
- value to addtree
- quadtreeunique
- true for uniqueindexName
- index name- Returns:
- true for added, false for not-responsible for this point
-
addToLeaf
public static int addToLeaf(PointRegionQuadTreeNodeLeaf<Object> leaf, double x, double y, Object value, boolean unique, String indexName)
-