public bool IsDisjointFrom(ImmutableBitArray array) { Contract.Requires(!ReferenceEquals(array, null)); Contract.Requires(array.Length == this.Length); return(this.data.IsDisjointFrom(array.data)); }
/// <summary> Performs the AND operation on this array with the specified array. </summary> public void And(ImmutableBitArray array) { Contract.Requires(!ReferenceEquals(array, null)); Contract.Requires(array.Length == this.Length); And(array.data); }
/// <summary> Gets whether all bits set in the specified array are set in this instance as well. </summary> /// <param name="array"> The bits to check. Must be commensurate to this array. </param> public bool Contains(ImmutableBitArray array) { return(this.data.Contains(array.data)); }