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

Method setLeft

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

Sets the left child. @param nd current node @param val left node

(final int nd, final int val)

Source from the content-addressed store, hash-verified

230 * @param val left node
231 */
232 private void setLeft(final int nd, final int val) {
233 tree.set((nd << 1) + nd, val);
234 }
235
236 /**
237 * Sets the right child.

Callers 3

addMethod · 0.95
rotateLeftMethod · 0.95
rotateRightMethod · 0.95

Calls 1

setMethod · 0.65

Tested by

no test coverage detected