(BitSet otherBits)
| 60 | } |
| 61 | |
| 62 | public void andNot(BitSet otherBits) { |
| 63 | int max = Math.max(bits.length, otherBits.bits.length); |
| 64 | enlarge(max); |
| 65 | int min = Math.min(bits.length, otherBits.bits.length); |
| 66 | for (int i = 0; i < min; i++) { |
| 67 | bits[i] &= ~otherBits.bits[i]; |
| 68 | } |
| 69 | } |
| 70 | |
| 71 | public void or(BitSet otherBits) { |
| 72 | int max = Math.max(bits.length, otherBits.bits.length); |