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