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

Method attachToParent

vm/JavaAPI/src/java/util/TreeMap.java:5088–5094  ·  view source on GitHub ↗
(Node<K, V> toDelete, Node<K, V> toConnect)

Source from the content-addressed store, hash-verified

5086 }
5087
5088 private void attachToParent(Node<K, V> toDelete, Node<K, V> toConnect) {
5089 // assert toConnect!=null
5090 attachToParentNoFixup(toDelete,toConnect);
5091 if (!toDelete.color) {
5092 fixup(toConnect);
5093 }
5094 }
5095
5096 private void attachNullToParent(Node<K, V> toDelete) {
5097 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