(lhs: BNode<K, V>)
| 867 | } |
| 868 | |
| 869 | takeFromLeft(lhs: BNode<K, V>) { |
| 870 | // Reminder: parent node must update its copy of key for this node |
| 871 | // assert: neither node is shared |
| 872 | // assert rhs.keys.length > (maxNodeSize/2 && this.keys.length<maxNodeSize) |
| 873 | this.keys.unshift(lhs.keys.pop()!) |
| 874 | this.children.unshift((lhs as BNodeInternal<K, V>).children.pop()!) |
| 875 | } |
| 876 | |
| 877 | // /////////////////////////////////////////////////////////////////////////// |
| 878 | // Internal Node: scanning & deletions ////////////////////////////////////// |
nothing calls this directly
no outgoing calls
no test coverage detected