@Override
    public boolean equals(Object that) {
    	boolean result = false;
    	if (that != null && that instanceof LongBitSet) {
    		LongBitSet b = (LongBitSet) that;
    		if (this.cardinality() == b.cardinality()) {
        		result = true;
	    		for (long l : b) {
	    			if (this.get(l) == false) {
	    				result = false; 
	    			}
	    		}
    		}
    	}
		return result;
    }