destroyProxy method

void destroyProxy(
  1. int proxyId
)
override

Destroy a proxy

Implementation

void destroyProxy(int proxyId) {
  assert(0 <= proxyId && proxyId < _nodeCapacity);
  assert(_child1[proxyId] == NULL_NODE);

  _removeLeaf(proxyId);
  _freeNode(proxyId);
}