public virtual void Intersection(FastFixedSetFactory <E> .FastFixedSet <E> set) { int[] extdata = set.GetData(); int[] intdata = data; for (int i = intdata.Length - 1; i >= 0; i--) { intdata[i] &= extdata[i]; } }
public virtual void Complement(FastFixedSetFactory <E> .FastFixedSet <E> set) { int[] extdata = set.GetData(); int[] intdata = data; for (int i = intdata.Length - 1; i >= 0; i--) { intdata[i] &= ~extdata[i]; } }
public virtual bool Contains(FastFixedSetFactory <E> .FastFixedSet <E> set) { int[] extdata = set.GetData(); int[] intdata = data; for (int i = intdata.Length - 1; i >= 0; i--) { if ((extdata[i] & ~intdata[i]) != 0) { return(false); } } return(true); }