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