(int len)
| 190 | /// |
| 191 | /// - `len`: the index the new array needs to be able to access. |
| 192 | private final void growLength(int len) { |
| 193 | long[] tempBits = new long[Math.max(len, bits.length * 2)]; |
| 194 | System.arraycopy(bits, 0, tempBits, 0, this.actualArrayLength); |
| 195 | bits = tempBits; |
| 196 | } |
| 197 | |
| 198 | /// Computes the hash code for this `BitSet`. If two `BitSet`s are equal |
| 199 | /// the have to return the same result for `hashCode()`. |