Esempio n. 1
0
 public bool IsSupersetOf(LongBitSet <T> other)
 {
     return((bits | other.bits) == bits);
 }
Esempio n. 2
0
 public bool Overlaps(LongBitSet <T> other)
 {
     return((bits & other.bits) != 0);
 }
Esempio n. 3
0
 public bool Equals(LongBitSet <T> other)
 {
     return(other == this);
 }
Esempio n. 4
0
 public bool IsProperSupersetOf(LongBitSet <T> other)
 {
     return(IsSupersetOf(other) && !SetEquals(other));
 }
Esempio n. 5
0
 public LongBitSet <T> Union(LongBitSet <T> other)
 {
     return(new LongBitSet <T>(bits | other.bits));
 }
Esempio n. 6
0
 public LongBitSet <T> SymmetricExcept(LongBitSet <T> other)
 {
     return(new LongBitSet <T>(bits ^ other.bits));
 }
Esempio n. 7
0
 public LongBitSet <T> Intersect(LongBitSet <T> other)
 {
     return(new LongBitSet <T>(bits & other.bits));
 }
Esempio n. 8
0
 public LongBitSet <T> Except(LongBitSet <T> other)
 {
     return(new LongBitSet <T>(bits & ~other.bits));
 }
Esempio n. 9
0
 public bool SetEquals(LongBitSet <T> other)
 {
     return(bits == other.bits);
 }