boolean (int bitIndex) { if (bitIndex < myBase || myBase < 0) return false; if (!contains(bitIndex)) return false; --myBitsSet; bitIndex -= myBase; int wordIndex = bitIndex >> SHIFT; myBitMask[wordIndex] &= ~(1L << (bitIndex & MASK)); if (wordIndex == myLastUsedSlot) { while(myLastUsedSlot >= 0 && myBitMask[myLastUsedSlot] == 0) --myLastUsedSlot; } return true; }