Exemple #1
0
 public IdSet IntersectWith(IdSet other)
 {
     return(new IdSet(_bitMask & other._bitMask));
 }
Exemple #2
0
 public IdSet Without(IdSet other)
 {
     return(new IdSet(_bitMask & ~other._bitMask));
 }
Exemple #3
0
 public IdSet UnionWith(IdSet other)
 {
     return(new IdSet(_bitMask | other._bitMask));
 }
Exemple #4
0
 public bool Contains(IdSet other)
 {
     return((_bitMask & other._bitMask) == other._bitMask);
 }
Exemple #5
0
 public IdSet Without(IdSet other)
 {
     other._bitMask = _bitMask & (~other._bitMask);
     return(other);
 }
Exemple #6
0
 public IdSet IntersectWith(IdSet other)
 {
     other._bitMask &= _bitMask;
     return(other);
 }
Exemple #7
0
 public IdSet UnionWith(IdSet other)
 {
     other._bitMask |= _bitMask;
     return(other);
 }