Releases the tree so that its size is 0.
()
| 142 | |
| 143 | /** Releases the tree so that its size is 0. */ |
| 144 | clear() { |
| 145 | this._root = EmptyLeaf as BNode<K, V> |
| 146 | this._size = 0 |
| 147 | } |
| 148 | |
| 149 | /** |
| 150 | * Finds a pair in the tree and returns the associated value. |
no outgoing calls