MCPcopy Create free account
hub / github.com/BaseXdb/basex / parent

Method parent

basex-core/src/main/java/org/basex/index/IndexTree.java:223–225  ·  view source on GitHub ↗

Gets the parent node. @param nd current node @return parent node

(final int nd)

Source from the content-addressed store, hash-verified

221 * @return parent node
222 */
223 private int parent(final int nd) {
224 return tree.get((nd << 1) + nd + 2);
225 }
226
227 /**
228 * Sets the left child.

Callers 4

nextMethod · 0.95
adjustMethod · 0.95
rotateLeftMethod · 0.95
rotateRightMethod · 0.95

Calls 1

getMethod · 0.65

Tested by

no test coverage detected