Class Root
- java.lang.Object
-
- org.locationtech.jts.index.bintree.NodeBase
-
- org.locationtech.jts.index.bintree.Root
-
-
Constructor Summary
Constructors Constructor Description Root()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
insert(Interval itemInterval, java.lang.Object item)
Insert an item into the tree this is the root of.private void
insertContained(Node tree, Interval itemInterval, java.lang.Object item)
insert an item which is known to be contained in the tree rooted at the given Node.protected boolean
isSearchMatch(Interval interval)
The root node matches all searches-
Methods inherited from class org.locationtech.jts.index.bintree.NodeBase
add, addAllItems, addAllItemsFromOverlapping, depth, getItems, getSubnodeIndex, hasChildren, hasItems, isPrunable, nodeSize, remove, size
-
-
-
-
Field Detail
-
origin
private static final double origin
- See Also:
- Constant Field Values
-
-
Method Detail
-
insert
public void insert(Interval itemInterval, java.lang.Object item)
Insert an item into the tree this is the root of.
-
insertContained
private void insertContained(Node tree, Interval itemInterval, java.lang.Object item)
insert an item which is known to be contained in the tree rooted at the given Node. Lower levels of the tree will be created if necessary to hold the item.
-
isSearchMatch
protected boolean isSearchMatch(Interval interval)
The root node matches all searches- Specified by:
isSearchMatch
in classNodeBase
-
-