(cmp: Cmp<T> = defaultCmp)
| 5 | private _array: Item<T>[]; |
| 6 | |
| 7 | constructor(cmp: Cmp<T> = defaultCmp) { |
| 8 | this._cmp = cmp; |
| 9 | this._array = []; |
| 10 | } |
| 11 | |
| 12 | push(value: T): SortedQueueItem<T> { |
| 13 | const item = new Item(value, this._array, this._array.length, this._cmp); |
nothing calls this directly
no outgoing calls
no test coverage detected