MCPcopy Create free account
hub / github.com/davidgiven/luje / attachToParent

Method attachToParent

lib/java/util/TreeMap.java:2149–2155  ·  view source on GitHub ↗
(Node<K, V> toDelete, Node<K, V> toConnect)

Source from the content-addressed store, hash-verified

2147 }
2148
2149 private void attachToParent(Node<K, V> toDelete, Node<K, V> toConnect) {
2150 // assert toConnect!=null
2151 attachToParentNoFixup(toDelete,toConnect);
2152 if (!toDelete.color) {
2153 fixup(toConnect);
2154 }
2155 }
2156
2157 private void attachNullToParent(Node<K, V> toDelete) {
2158 Node<K, V> parent = toDelete.parent;

Callers 1

deleteNodeMethod · 0.95

Calls 2

attachToParentNoFixupMethod · 0.95
fixupMethod · 0.95

Tested by

no test coverage detected