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

Method getParent

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

get a node's parent. mind you, the node, or its parent, 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

660 * @param index _KEY or _VALUE
661 */
662 private static Node getParent(Node node, int index)
663 {
664 return ((node == null) ? null
665 : node.getParent(index));
666 }
667
668 /**
669 * get a node's right child. mind you, the node may not exist. no

Callers 3

getGrandParentMethod · 0.95
doRedBlackInsertMethod · 0.95
doRedBlackDeleteFixupMethod · 0.95

Calls 1

getParentMethod · 0.65

Tested by

no test coverage detected