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

Method makeRed

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

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

619 * @param index _KEY or _VALUE
620 */
621 private static void makeRed(Node node, int index)
622 {
623 if (node != null)
624 {
625 node.setRed(index);
626 }
627 }
628
629 /**
630 * force a node (if it exists) black

Callers 2

doRedBlackInsertMethod · 0.95
doRedBlackDeleteFixupMethod · 0.95

Calls 1

setRedMethod · 0.80

Tested by

no test coverage detected