MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / attachToParent

Method attachToParent

Ports/CLDC11/src/java/util/TreeMap.java:5119–5125  ·  view source on GitHub ↗
(Node<K, V> toDelete, Node<K, V> toConnect)

Source from the content-addressed store, hash-verified

5117 }
5118
5119 private void attachToParent(Node<K, V> toDelete, Node<K, V> toConnect) {
5120 // assert toConnect!=null
5121 attachToParentNoFixup(toDelete,toConnect);
5122 if (!toDelete.color) {
5123 fixup(toConnect);
5124 }
5125 }
5126
5127 private void attachNullToParent(Node<K, V> toDelete) {
5128 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