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

Method isRed

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

is the specified node red? if the node does not exist, no, 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

596 * @param index _KEY or _VALUE
597 */
598 private static boolean isRed(Node node, int index)
599 {
600 return node == null ? false : node.isRed(index);
601 }
602
603 /**
604 * is the specified black red? if the node does not exist, sure,

Callers 2

doRedBlackInsertMethod · 0.95
doRedBlackDeleteFixupMethod · 0.95

Calls 1

isRedMethod · 0.45

Tested by

no test coverage detected