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