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

Method makeBlack

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

force a node (if it exists) black @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

633 * @param index _KEY or _VALUE
634 */
635 private static void makeBlack(Node node, int index)
636 {
637 if (node != null)
638 {
639 node.setBlack(index);
640 }
641 }
642
643 /**
644 * get a node's grandparent. mind you, the node, its parent, or

Callers 2

doRedBlackInsertMethod · 0.95
doRedBlackDeleteFixupMethod · 0.95

Calls 1

setBlackMethod · 0.80

Tested by

no test coverage detected