AbstractSTRtree.withCapacity constructor

AbstractSTRtree.withCapacity(
  1. int nodeCapacity
)

Constructs an AbstractSTRtree with the specified maximum number of child nodes that a node may have

@param nodeCapacity the maximum number of child nodes in a node

Implementation

AbstractSTRtree.withCapacity(int nodeCapacity) {
  Assert.isTrue(nodeCapacity > 1, "Node capacity must be greater than 1");
  this.nodeCapacity = nodeCapacity;
}