()
| 163 | } |
| 164 | |
| 165 | public values(): IterableIterator<T> { |
| 166 | this._flushCleanupInserted(); |
| 167 | this._flushCleanupDeleted(); |
| 168 | // Duplicate the array to avoid issues when _array changes while iterating |
| 169 | return [...this._array].values(); |
| 170 | } |
| 171 | |
| 172 | private _search(key: number): number { |
| 173 | let min = 0; |