src/java/org/apache/cassandra/utils/obs/OpenBitSet.java
/** flips a bit and returns the resulting bit value.
   * The index should be less than the OpenBitSet size.
   */
flips a bit and returns the resulting bit value.
The index should be less than the OpenBitSet size.
flips a bit and returns the resulting bit value . The index should be less than the OpenBitSet size .
public boolean flipAndGet(int index) {
    int wordNum = index >> 6;      
    int bit = index & 0x3f;     
    long bitmask = 1L << bit;
    bits[wordNum / PAGE_SIZE][wordNum % PAGE_SIZE] ^= bitmask;
    return (bits[wordNum / PAGE_SIZE][wordNum % PAGE_SIZE] & bitmask) != 0;
  }
public boolean flipAndGet ( int index ) { int wordNum = index >> 6 ; int bit = index & 0x3f ; long bitmask = 1L << bit ; bits [ wordNum / PAGE_SIZE ] [ wordNum % PAGE_SIZE ] ^= bitmask ; return ( bits [ wordNum / PAGE_SIZE ] [ wordNum % PAGE_SIZE ] & bitmask ) != 0 ; }
flips a bit and returns the resulting bit value.
flips a bit and returns the resulting bit value .
// div 64 // mod 64