コード例 #1
0
ファイル: LongBitSet.cs プロジェクト: zredb/OpenRA
 public bool IsSupersetOf(LongBitSet <T> other)
 {
     return((bits | other.bits) == bits);
 }
コード例 #2
0
ファイル: LongBitSet.cs プロジェクト: zredb/OpenRA
 public bool Overlaps(LongBitSet <T> other)
 {
     return((bits & other.bits) != 0);
 }
コード例 #3
0
ファイル: LongBitSet.cs プロジェクト: zredb/OpenRA
 public bool Equals(LongBitSet <T> other)
 {
     return(other == this);
 }
コード例 #4
0
ファイル: LongBitSet.cs プロジェクト: zredb/OpenRA
 public bool IsProperSupersetOf(LongBitSet <T> other)
 {
     return(IsSupersetOf(other) && !SetEquals(other));
 }
コード例 #5
0
ファイル: LongBitSet.cs プロジェクト: reaperrr/OpenRA
 public LongBitSet <T> Union(LongBitSet <T> other)
 {
     return(new LongBitSet <T>(bits | other.bits));
 }
コード例 #6
0
ファイル: LongBitSet.cs プロジェクト: reaperrr/OpenRA
 public LongBitSet <T> SymmetricExcept(LongBitSet <T> other)
 {
     return(new LongBitSet <T>(bits ^ other.bits));
 }
コード例 #7
0
ファイル: LongBitSet.cs プロジェクト: reaperrr/OpenRA
 public LongBitSet <T> Intersect(LongBitSet <T> other)
 {
     return(new LongBitSet <T>(bits & other.bits));
 }
コード例 #8
0
ファイル: LongBitSet.cs プロジェクト: reaperrr/OpenRA
 public LongBitSet <T> Except(LongBitSet <T> other)
 {
     return(new LongBitSet <T>(bits & ~other.bits));
 }
コード例 #9
0
ファイル: LongBitSet.cs プロジェクト: reaperrr/OpenRA
 public bool SetEquals(LongBitSet <T> other)
 {
     return(bits == other.bits);
 }