BitsetsNET.RoaringBitset.Difference C# (CSharp) Method

Difference() public method

Finds members of this bitset that are not in the other set (ANDNOT). This does not modify either bitset.
public Difference ( IBitset otherSet ) : IBitset
otherSet IBitset The set to compare against
return IBitset
        public IBitset Difference(IBitset otherSet)
        {
            if (otherSet is RoaringBitset)
            {
                return this.AndNot((RoaringBitset) otherSet);
            }
            throw new ArgumentOutOfRangeException("Other set must be a roaring bitset");
        }