BitsetsNET.ArrayContainer.IAnd C# (CSharp) Method

IAnd() public method

Computes the in-place bitwise AND of this container with another (intersection). The current container is generally modified, whereas the provided container (x) is unaffected. May generate a new container.
public IAnd ( ArrayContainer other ) : Container
other ArrayContainer
return Container
        public override Container IAnd(ArrayContainer other)
        {
            Cardinality = Utility.UnsignedIntersect2by2(Content,
                                                        GetCardinality(),
                                                        other.Content,
                                                        other.GetCardinality(),
                                                        Content);
            return this;
        }

Same methods

ArrayContainer::IAnd ( BitsetContainer other ) : Container