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

Method setRight

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

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

(final int nd, final int val)

Source from the content-addressed store, hash-verified

239 * @param val right node
240 */
241 private void setRight(final int nd, final int val) {
242 tree.set((nd << 1) + nd + 1, val);
243 }
244
245 /**
246 * Sets the parent node.

Callers 3

addMethod · 0.95
rotateLeftMethod · 0.95
rotateRightMethod · 0.95

Calls 1

setMethod · 0.65

Tested by

no test coverage detected