public long size ( ) { SparseBitSet current ; long size ; do { current = sparseBitSetVolatile ; size = current . estimateBitsUsed ( ) ; } while ( current != sparseBitSetVolatile ) ; return size ; }
Estimate the total number of bits used to represent the integer set .