void putAll(BitArray array){
  bitCount=0;
  for (int i=0; i < data.length; i++) {
    data[i]|=array.data[i];
    bitCount+=Long.bitCount(data[i]);
  }
}

void putAll ( BitArray array ) { bitCount = 0 ; for ( int i = 0 ; i < data . length ; i ++ ) { data [ i ] |= array . data [ i ] ; bitCount += Long . bitCount ( data [ i ] ) ; } }
combines the two bitarrays using bitwise or .
