class HugeAtomicBitSet {

    public long cardinality() {
        long setBitCount = 0;

        for (long wordIndex = 0; wordIndex < bits.size() ; wordIndex++) {
            setBitCount += Long.bitCount(bits.get(wordIndex));
        }

        return setBitCount;
    }

    private  HugeAtomicBitSet(HugeAtomicLongArray bits, long numBits);

}