(size: number /*int*/)
| 72 | } |
| 73 | |
| 74 | private ensureCapacity(size: number /*int*/): void { |
| 75 | if (size > this.bits.length * 32) { |
| 76 | const newBits = BitArray.makeArray(size); |
| 77 | System.arraycopy(this.bits, 0, newBits, 0, this.bits.length); |
| 78 | this.bits = newBits; |
| 79 | } |
| 80 | } |
| 81 | |
| 82 | /** |
| 83 | * @param i bit to get |
no test coverage detected