(private capacity: number)
| 8 | private size = 0 |
| 9 | |
| 10 | constructor(private capacity: number) { |
| 11 | this.buffer = new Array(capacity) |
| 12 | } |
| 13 | |
| 14 | /** |
| 15 | * Add an item to the buffer. If the buffer is full, |
nothing calls this directly
no outgoing calls
no test coverage detected