public boolean [ ] toBooleanArray ( ) { boolean [ ] bits = new boolean [ length ] ; for ( int i = 0 ; i < length ; i ++ ) { bits [ i ] = get ( i ) ; } return bits ; }
Return a boolean array with the same bit values a this BitArray .