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

Method isBlack

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

is the specified black red? if the node does not exist, sure, it's black, thank you @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

608 * @param index _KEY or _VALUE
609 */
610 private static boolean isBlack(Node node, int index)
611 {
612 return node == null ? true : node.isBlack(index);
613 }
614
615 /**
616 * force a node (if it exists) red

Callers 2

doRedBlackDeleteMethod · 0.95
doRedBlackDeleteFixupMethod · 0.95

Calls 1

isBlackMethod · 0.45

Tested by

no test coverage detected