* Appends an item to the tail of the queue. * @param {T} item The element to add. * @returns {void}
(item)
| 50 | * @returns {void} |
| 51 | */ |
| 52 | enqueue(item) { |
| 53 | this._list.push(item); |
| 54 | } |
| 55 | |
| 56 | /** |
| 57 | * Removes and returns the next item in FIFO order, switching to a reversed |
no test coverage detected