And() public method

Computes the bitwise AND of this container with another (intersection). This container as well as the provided container are left unaffected.
public And ( ArrayContainer x ) : Container
x ArrayContainer Other container
return Container
Esempio n. 1
0
 /// <summary>
 /// Computes the bitwise AND of this container with another
 /// (intersection). This container as well as the provided container are
 /// left unaffected.
 /// </summary>
 /// <param name="x">Other container</param>
 /// <returns>Aggregated container</returns>
 public override Container And(BitsetContainer x)
 {
     return(x.And(this));
 }
Esempio n. 2
0
 /// <summary>
 /// Computes the bitwise AND of this container with another
 /// (intersection). This container as well as the provided container are
 /// left unaffected.
 /// </summary>
 /// <param name="x">Other container</param>
 /// <returns>Aggregated container</returns>
 public override Container And(BitsetContainer x)
 {
     return x.And(this);
 }