@Deprecated
  public static int setBitmapRangeAndCardinalityChange(long[] bitmap, int start, int end) {
    int cardbefore = cardinalityInBitmapWordRange(bitmap, start, end);
    setBitmapRange(bitmap, start,end);
    int cardafter = cardinalityInBitmapWordRange(bitmap, start, end);
    return cardafter - cardbefore;
  }
@ Deprecated public static int setBitmapRangeAndCardinalityChange ( long [ ] bitmap , int start , int end ) { int cardbefore = cardinalityInBitmapWordRange ( bitmap , start , end ) ; setBitmapRange ( bitmap , start , end ) ; int cardafter = cardinalityInBitmapWordRange ( bitmap , start , end ) ; return cardafter - cardbefore ; }
set bits at start, start+1,..., end-1 and report the
cardinality change

@param bitmap array of words to be modified
@param start first index to be modified (inclusive)
@param end last index to be modified (exclusive)
@return cardinality change