(index: number)
| 41 | } |
| 42 | |
| 43 | getItemAt(index: number): T { |
| 44 | if (index < 0 || index >= this.items.length) { |
| 45 | throw new Error('index is out of range'); |
| 46 | } |
| 47 | return this.items[index]; |
| 48 | } |
| 49 | |
| 50 | getItemAtPosition(position: number): number { |
| 51 | if (this.count === 0) { |
no outgoing calls
no test coverage detected