boolean (int bitIndex) { if (bitIndex < myBase || myBase < 0) return false; bitIndex -= myBase; int wordIndex = bitIndex >> SHIFT; boolean result = false; if (wordIndex < myBitMask.length) { result = (myBitMask[wordIndex] & (1L << (bitIndex & MASK))) != 0; } return result; }