(int newPartition)
| 87 | } |
| 88 | |
| 89 | private void enlarge(int newPartition) { |
| 90 | if (bits == null || bits.length < (newPartition + 1)) { |
| 91 | long[] newBits = new long[newPartition + 1]; |
| 92 | if (bits != null) { |
| 93 | System.arraycopy(bits, 0, newBits, 0, bits.length); |
| 94 | } |
| 95 | bits = newBits; |
| 96 | } |
| 97 | } |
| 98 | |
| 99 | public boolean get(int index) { |
| 100 | int pos = longPosition(index); |