public int[] toIntegerArray(){
  int[] values=new int[mSize];
  for (int i=nextSetBit(0); i >= 0 && i < mSize; i=nextSetBit(i + 1)) {
    values[i]=1;
  }
  return values;
}

public int [ ] toIntegerArray ( ) { int [ ] values = new int [ mSize ] ; for ( int i = nextSetBit ( 0 ) ; i >= 0 && i < mSize ; i = nextSetBit ( i + 1 ) ) { values [ i ] = 1 ; } return values ; }
returns this bitset as an array of integer ones and zeros
