public override bool IsSupersetOf(IFiniteSet <T> other) { FlipRotateSet <T, P> o = other as FlipRotateSet <T, P>; return(ReferenceEquals(this, other) || ( !ReferenceEquals(o, null) && _dim >= o._dim && (Type & o.Type) == o.Type ) || base.IsSupersetOf(other)); }
public override bool Equals(IFiniteSet <T> other) { FlipRotateSet <T, P> o = other as FlipRotateSet <T, P>; return(ReferenceEquals(this, other) || ( !ReferenceEquals(o, null) && _dim == o._dim && Type == o.Type ) || base.Equals(other)); }