MCPcopy Create free account
hub / github.com/apache/poi / getGrandParent

Method getGrandParent

src/java/org/apache/poi/util/BinaryTree.java:650–653  ·  view source on GitHub ↗

get a node's grandparent. mind you, the node, its parent, or its grandparent may not exist. no problem @param node the node (may be null) in question @param index _KEY or _VALUE

(Node node, int index)

Source from the content-addressed store, hash-verified

648 * @param index _KEY or _VALUE
649 */
650 private static Node getGrandParent(Node node, int index)
651 {
652 return getParent(getParent(node, index), index);
653 }
654
655 /**
656 * get a node's parent. mind you, the node, or its parent, may not

Callers 1

doRedBlackInsertMethod · 0.95

Calls 1

getParentMethod · 0.95

Tested by

no test coverage detected