()
| 487 | } |
| 488 | |
| 489 | clone(): BNode<K, V> { |
| 490 | const v = this.values |
| 491 | return new BNode<K, V>(this.keys.slice(0), v === undefVals ? v : v.slice(0)) |
| 492 | } |
| 493 | |
| 494 | get(key: K, defaultValue: V | undefined, tree: BTree<K, V>): V | undefined { |
| 495 | const i = this.indexOf(key, -1, tree._compare) |