* Reports whether the buffer is empty. * @returns true if the number of items in the buffer equals zero, and * false otherwise.
()
| 95 | * false otherwise. |
| 96 | */ |
| 97 | isEmpty() { |
| 98 | return this.length() === 0; |
| 99 | } |
| 100 | |
| 101 | /** |
| 102 | * Adds an item to the end of the buffer. |
no test coverage detected