public StateFilterEnumerator(IReadOnlyBitSet bitset, bool stateFilter, int startBitIndex = 0) : this(bitset, false) { Contract.Requires <ArgumentNullException>(bitset != null); Contract.Requires <ArgumentOutOfRangeException>(startBitIndex >= 0); Contract.Requires <ArgumentOutOfRangeException>(startBitIndex < bitset.Length || bitset.Length == 0); mStateFilter = stateFilter; mStartBitIndex = startBitIndex - 1; }
StateFilterEnumerator(IReadOnlyBitSet bitset, [SuppressMessage("Microsoft.Design", "CA1801:ReviewUnusedParameters")] bool dummy) : this() { mSet = bitset; mLastIndex = bitset.Length - 1; mVersion = bitset.Version; mBitIndex = TypeExtensions.kNone; }
bool IEquatable <IReadOnlyBitSet> .Equals(IReadOnlyBitSet other) { throw new NotImplementedException(); }
int IComparable <IReadOnlyBitSet> .CompareTo(IReadOnlyBitSet other) { throw new NotImplementedException(); }
public bool OverlapsSansZeros(IReadOnlyBitSet other) { Contract.Requires <ArgumentNullException>(other != null); throw new NotImplementedException(); }
public bool IsSupersetOf(IReadOnlyBitSet other) { Contract.Requires <ArgumentNullException>(other != null); throw new NotImplementedException(); }
public StateEnumerator(IReadOnlyBitSet bitset) : this(bitset, false) { Contract.Requires <ArgumentNullException>(bitset != null); }